Michael's "synchronise the labels with the buffer" patch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5011 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-08-16 12:59:34 +00:00
parent a83ae98a7e
commit d0835fa4ca
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-08-16 Michael Schmitt <Michael.Schmitt@teststep.org>
* FormRef.C (update): Synchronise the buffer choice and the list of
labels if the dialog is re-opened.
2002-08-15 Angus Leeming <leeming@lyx.org>
* Dialogs.C:

View File

@ -113,7 +113,10 @@ void FormRef::update()
controller().getBufferNum() + 1);
}
refs_ = controller().getLabelList(string());
string const name = controller().
getBufferName(fl_get_choice(dialog_->choice_buffer) - 1);
refs_ = controller().getLabelList(name);
updateBrowser(refs_);
}