]> git.lyx.org Git - lyx.git/commitdiff
update if fitCursor
authorLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 3 Sep 2003 21:14:45 +0000 (21:14 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 3 Sep 2003 21:14:45 +0000 (21:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7652 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/lyxfunc.C

index 563ba2dc4af49cfbee783937834403612cb50248..20af09203cca776f48c73867aeb6b35d0954e00f 100644 (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
index 9c85a46ec617dc89dab45f3cb3b66c5af9710880..98e62648ee44a41e78e2aab6779c37c63c0ebe92 100644 (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()