]> git.lyx.org Git - lyx.git/commitdiff
(Herbert): one liner to not read the Bounding Box unnecessarily.
authorAngus Leeming <leeming@lyx.org>
Thu, 2 May 2002 08:48:41 +0000 (08:48 +0000)
committerAngus Leeming <leeming@lyx.org>
Thu, 2 May 2002 08:48:41 +0000 (08:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4112 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/FormGraphics.C

index ce4929d3e2830c20e6aaedc4fcc017fd7a1ab632..1e7f4d26adddb10264f5363be292741be5094adf 100644 (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>
index c927be9a9966ad8019f278531da203cc61a6f812..8683e063195ce0f011a530fdc78f125dc64d3af7 100644 (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) {