]> git.lyx.org Git - features.git/commitdiff
Fix ticket #7260: Error when opening all floats, when a figure contains a \textcompwo...
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 24 Jan 2011 09:40:57 +0000 (09:40 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 24 Jan 2011 09:40:57 +0000 (09:40 +0000)
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

src/frontends/qt4/GuiApplication.cpp

index f3c9e45a1e56da8aede75c92894f06ece8965c70..51c2c0fcdfc98d86288a4a3a9fb9328951ccaa68 100644 (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);