mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Enable the insertion of non-existent graphics files once again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3841 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b095c6ed7a
commit
70cec1dd6e
@ -2,6 +2,9 @@
|
||||
|
||||
* FormPreferences.C (browse): don't use BrowseRelPath here you noodle!
|
||||
|
||||
* FormGraphics.C (input): don't disallow the input of a file that's
|
||||
not there.
|
||||
|
||||
2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* FormParagraph.C (changedParagraph): whitespace.
|
||||
|
@ -483,13 +483,13 @@ ButtonPolicy::SMInput FormGraphics::input(FL_OBJECT * ob, long)
|
||||
if (out_name != in_name && !out_name.empty()) {
|
||||
fl_set_input(file_->input_filename, out_name.c_str());
|
||||
}
|
||||
if (!controller().isFilenameValid(out_name))
|
||||
return ButtonPolicy::SMI_INVALID;
|
||||
// if (!controller().isFilenameValid(out_name))
|
||||
// return ButtonPolicy::SMI_INVALID;
|
||||
|
||||
} else if (ob == file_->input_filename) {
|
||||
string name = getStringFromInput(file_->input_filename);
|
||||
if (!controller().isFilenameValid(name))
|
||||
return ButtonPolicy::SMI_INVALID;
|
||||
// } else if (ob == file_->input_filename) {
|
||||
// string name = getStringFromInput(file_->input_filename);
|
||||
// if (!controller().isFilenameValid(name))
|
||||
// return ButtonPolicy::SMI_INVALID;
|
||||
|
||||
} else if (ob == file_->check_subcaption) {
|
||||
setEnabled(file_->input_subcaption,
|
||||
|
Loading…
Reference in New Issue
Block a user