]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiApplication.cpp
Fix ticket #7260: Error when opening all floats, when a figure contains a \textcompwo...
[features.git] / 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);