From: Lars Gullik Bjønnes Date: Wed, 3 Sep 2003 21:14:45 +0000 (+0000) Subject: update if fitCursor X-Git-Tag: 1.6.10~16185 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3355993a433dc06a5b563d1128cf39fe11288d00;p=lyx.git update if fitCursor git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7652 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 563ba2dc4a..20af09203c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-09-03 Lars Gullik Bjønnes + + * lyxfunc.C (dispatch): if fitCursor did something be sure to + update + 2003-09-03 Martin Vermeer * BranchList.C: point fix, earlier forgotten diff --git a/src/lyxfunc.C b/src/lyxfunc.C index 9c85a46ec6..98e62648ee 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -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()