]> git.lyx.org Git - features.git/commitdiff
Update current font when moving cursor by clicking mouse
authorMartin Vermeer <martin.vermeer@hut.fi>
Mon, 29 Oct 2007 18:57:56 +0000 (18:57 +0000)
committerMartin Vermeer <martin.vermeer@hut.fi>
Mon, 29 Oct 2007 18:57:56 +0000 (18:57 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21267 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.cpp

index 63b3f4529b7608b5b25e135d4c92a56429932d49..e5c127f02f7c8cca5870e2e1dee03d041f75689d 100644 (file)
@@ -1757,6 +1757,7 @@ bool BufferView::mouseSetCursor(Cursor & cur, bool select)
                d->cursor_.clearSelection();
 
        d->cursor_.finishUndo();
+       d->cursor_.setCurrentFont();
        return update;
 }