update if fitCursor

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7652 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2003-09-03 21:14:45 +00:00
parent a52418b360
commit 3355993a43
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
* lyxfunc.C (dispatch): if fitCursor did something be sure to
update
2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
* BranchList.C: point fix, earlier forgotten

View File

@ -1631,7 +1631,11 @@ exit_with_message:
view()->owner()->updateLayoutChoice();
if (view()->available()) {
view()->fitCursor();
if (view()->fitCursor()) {
lyxerr << "LyXFunc->fitCursor->update" << endl;
view()->update();
}
// If we executed a mutating lfun, mark the buffer as dirty
if (!getStatus(ev).disabled()