]> git.lyx.org Git - features.git/commitdiff
Fix bug #6686: Navigate back does not trigger a repaint
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 10 May 2010 11:02:45 +0000 (11:02 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 10 May 2010 11:02:45 +0000 (11:02 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34391 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiApplication.cpp

index 98e9cae8ac6720be108f557b08158de998c9abf7..ead359faa7e3d76f9976ca61b0daf2107c3932f3 100644 (file)
@@ -1557,7 +1557,7 @@ void GuiApplication::dispatch(FuncRequest const & cmd, DispatchResult & dr)
        case LFUN_BOOKMARK_GOTO:
                // go to bookmark, open unopened file and switch to buffer if necessary
                gotoBookmark(convert<unsigned int>(to_utf8(cmd.argument())), true, true);
-               dr.update(Update::FitCursor);
+               dr.update(Update::Force | Update::FitCursor);
                break;
 
        case LFUN_BOOKMARK_CLEAR: