(Herbert): one liner to not read the Bounding Box unnecessarily.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4112 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-05-02 08:48:41 +00:00
parent 5ba23fae32
commit 23ae700ec6
2 changed files with 9 additions and 5 deletions

View File

@ -1,10 +1,13 @@
2002-05-02 Herbert Voss <voss@perce.de>
* FormGraphics.C (input): do not read bb new when it was changed
2002-04-30 Rob Lahaye <lahaye@users.sourceforge.net>
* FormDocument.C: "USletter" -> "US letter" etc.
"Other" -> "Custom".
* FormDocument.C: "USletter" -> "US letter" etc., "Other" -> "Custom".
* FormParagraph.C: "Other" -> "Custom"
* FormPreferences.C: "USletter" -> "US letter" etc.
* forms/form_document.fd: 'Papersize" -> "Paper size"
style consistency
* forms/form_document.fd: 'Papersize" -> "Paper size" style consistency
* forms/form_preferences.fd: style consistency
2002-04-30 Angus Leeming <a.leeming@ic.ac.uk>

View File

@ -510,7 +510,8 @@ 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))
if (controller().isFilenameValid(out_name) &&
!controller().bbChanged)
updateBB(out_name, string());
} else if (ob == file_->check_subcaption) {