]> git.lyx.org Git - features.git/commitdiff
Always list the labels of the current buffer.
authorDekel Tsur <dekelts@tau.ac.il>
Tue, 8 Oct 2002 17:53:56 +0000 (17:53 +0000)
committerDekel Tsur <dekelts@tau.ac.il>
Tue, 8 Oct 2002 17:53:56 +0000 (17:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5369 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/FormRef.C

index 89988e33a6b27de2284bc5d1e7df1da9edafe416..732a98f67147eac7679c1b139571a3760dc1d53d 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-08  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * FormRef.C (update): Always list the labels of the current buffer.
+
 2002-10-07  Angus Leeming  <leeming@lyx.org>
 
        * FormBase.C (hide):
index 728e9d3cd37e558e17d6a7ad8a43f7835b050273..7ddbeab3f6d9f95a590dbe7f1323c0be87b7300b 100644 (file)
@@ -123,11 +123,11 @@ void FormRef::update()
 
                fl_clear_choice(dialog_->choice_document);
                fl_addto_choice(dialog_->choice_document, choice.c_str());
-
-               fl_set_choice(dialog_->choice_document,
-                             controller().getBufferNum() + 1);
        }
 
+       fl_set_choice(dialog_->choice_document,
+                     controller().getBufferNum() + 1);
+
        string const name = controller().
                getBufferName(fl_get_choice(dialog_->choice_document) - 1);
        refs_ = controller().getLabelList(name);