Show labels of current buffer

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@5371 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2002-10-09 11:14:11 +00:00
parent f1e70a0286
commit 35fdb32c83
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
* FormRef.C (update): Always list the labels of the current buffer.
2002-09-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* Toolbar_pimpl.C (layoutSelected): show shortcut in minibuffer

View File

@ -107,11 +107,10 @@ void FormRef::update()
fl_clear_choice(dialog_->choice_buffer);
fl_addto_choice(dialog_->choice_buffer, choice.c_str());
fl_set_choice(dialog_->choice_buffer,
controller().getBufferNum() + 1);
}
fl_set_choice(dialog_->choice_buffer, controller().getBufferNum() + 1);
string const name = controller().getBufferName(fl_get_choice(dialog_->choice_buffer) - 1);
refs_ = controller().getLabelList(name);

View File

@ -39,6 +39,8 @@ What's new
** Bug fixes
- the reference dialog now lists the labels of the current buffer.
- fix bug where special characters in equations label confuse LyX
(this was a new bug in 1.2.1)