Author: lasgouttes
Date: Mon Jan 24 10:40:57 2011
New Revision: 37310
URL: http://www.lyx.org/trac/changeset/37310

Log:
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.

Modified:
   lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp

Modified: lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp
==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp        Mon Jan 24 
10:24:13 2011        (r37309)
+++ lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp        Mon Jan 24 
10:40:57 2011        (r37310)
@@ -1271,8 +1271,6 @@
                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);

Reply via email to