Update bookmark #0 after inserting a reference.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1627 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-02-26 22:17:57 +00:00
parent 8d704c07b3
commit c92605b4aa
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
* FormRef.C (apply): Update bookmark #0 after inserting a reference.
2001-02-22 Angus Leeming <a.leeming@ic.ac.uk>
* <various>: small changes to enable compilation once again.

View File

@ -220,8 +220,10 @@ void FormRef::apply()
inset_->setParams(params);
lv_->view()->updateInset(inset_, true);
}
} else
} else {
lv_->getLyXFunc()->Dispatch(LFUN_REF_INSERT, params.getAsString().c_str());
lv_->getLyXFunc()->Dispatch(LFUN_BOOKMARK_SAVE, "0");
}
}