]> git.lyx.org Git - lyx.git/blobdiff - src/LyXFunc.cpp
Shortcut for LyX HTML output. (Makes my life easier!)
[lyx.git] / src / LyXFunc.cpp
index cc213313e61198926aff2a835591644bb783908b..e5db6106bcaf4a4fc19a5207140cff01ed29da05 100644 (file)
@@ -541,20 +541,6 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                                }
                        }
 
-                       // Is this a function that acts on inset at point?
-                       Inset * inset = bv->cursor().nextInset();
-                       if (lyxaction.funcHasFlag(action, LyXAction::AtPoint)
-                           && inset) {
-                               bv->cursor().result().dispatched(true);
-                               bv->cursor().result().update(Update::FitCursor | Update::Force);
-                               FuncRequest tmpcmd = cmd;
-                               inset->dispatch(bv->cursor(), tmpcmd);
-                               if (bv->cursor().result().dispatched()) {
-                                       updateFlags = bv->cursor().result().update();
-                                       break;
-                               }
-                       }
-
                        // Let the current Cursor dispatch its own actions.
                        Cursor old = bv->cursor();
                        bv->cursor().getPos(cursorPosBeforeDispatchX_,