From 9d2654311af6a80546a8a20118a22223e5ff8db2 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Mon, 10 Mar 2008 19:08:03 +0000 Subject: [PATCH] * restart cursor not only after mouse- and keyboard events, but also after those from the toolbar, menus, etc. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23648 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXFunc.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 920ffa84bd..15a6bc2e03 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -1715,8 +1715,11 @@ void LyXFunc::dispatch(FuncRequest const & cmd) && !lyxaction.funcHasFlag(action, LyXAction::ReadOnly)) lyx_view_->buffer()->markDirty(); - //Do we have a selection? + // Do we have a selection? theSelection().haveSelection(view()->cursor().selection()); + + // update gui + lyx_view_->restartCursor(); } } if (lyx_view_) {