* 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
This commit is contained in:
Stefan Schimanski 2008-03-10 19:08:03 +00:00
parent f9da705539
commit 9d2654311a

View File

@ -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_) {