Small improvement in FormRef.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1357 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-01-21 19:06:10 +00:00
parent 9fc9199744
commit 911dacfc28
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
* FormRef.C (update): Do not update dialog_->type if inset_ == 0.
2001-01-18 Angus Leeming <a.leeming@ic.ac.uk>
* FormPrint.[Ch] (browse): new method to browse for file to print to.

View File

@ -95,8 +95,8 @@ void FormRef::update()
fl_set_input(dialog_->ref, params.getContents().c_str());
fl_set_input(dialog_->name, params.getOptions().c_str());
Type type = getType();
fl_set_choice(dialog_->type, type+1);
if (inset_)
fl_set_choice(dialog_->type, getType()+1);
toggle = GOBACK;
fl_set_object_label(dialog_->button_go, _("Goto reference"));