From: Angus Leeming Date: Thu, 2 May 2002 08:48:41 +0000 (+0000) Subject: (Herbert): one liner to not read the Bounding Box unnecessarily. X-Git-Tag: 1.6.10~19295 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=23ae700ec682c9ec623cb656bd9ee543ccb51023;p=lyx.git (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 --- diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index ce4929d3e2..1e7f4d26ad 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,10 +1,13 @@ +2002-05-02 Herbert Voss + + * FormGraphics.C (input): do not read bb new when it was changed + 2002-04-30 Rob Lahaye - * 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 diff --git a/src/frontends/xforms/FormGraphics.C b/src/frontends/xforms/FormGraphics.C index c927be9a99..8683e06319 100644 --- a/src/frontends/xforms/FormGraphics.C +++ b/src/frontends/xforms/FormGraphics.C @@ -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) {