Fix ticket #7260: Error when opening all floats, when a figure contains a \textcompwordmark command.

Actually, this was an oversight in r33226. There is no need to touch the physical cursor in this method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37310 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2011-01-24 09:40:57 +00:00
parent dc0d885f8f
commit 23e17774e1

View File

@ -1271,8 +1271,6 @@ void GuiApplication::dispatch(FuncRequest const & cmd, DispatchResult & dr)
LYXERR(Debug::ACTION, "action "
<< lyxaction.getActionName(action)
<< " [" << action << "] is disabled at this location");
if (current_view_)
current_view_->restartCursor();
dr.setMessage(flag.message());
dr.setError(true);
dr.dispatched(false);