From: Jean-Marc Lasgouttes Date: Mon, 24 Jan 2011 09:40:57 +0000 (+0000) Subject: Fix ticket #7260: Error when opening all floats, when a figure contains a \textcompwo... X-Git-Tag: 2.0.0~1018 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=23e17774e12ab52bb0d04aed94eddbabfeffda07;p=features.git 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 --- diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index f3c9e45a1e..51c2c0fcdf 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -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);