Always list the labels of the current buffer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5369 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2002-10-08 17:53:56 +00:00
parent 3686da86e0
commit 935dc56733
2 changed files with 7 additions and 3 deletions

View 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):

View 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);