]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_scriptinset.C
revert Buffer LyxText->InsetText commit
[lyx.git] / src / mathed / math_scriptinset.C
index 6e6f75514109c6cfb71e642ab773f3c46b4f61aa..07bf1164b7ae254b9f456eb4da1e5233ef9a5634 100644 (file)
@@ -513,10 +513,9 @@ void MathScriptInset::notifyCursorLeaves(idx_type idx)
 }
 
 
-DispatchResult
-MathScriptInset::priv_dispatch(LCursor & cur, FuncRequest const & cmd)
+void MathScriptInset::priv_dispatch(LCursor & cur, FuncRequest const & cmd)
 {
-       lyxerr << "MathScriptInset: request: " << cmd << std::endl;
+       //lyxerr << "MathScriptInset: request: " << cmd << std::endl;
 
        if (cmd.action == LFUN_MATH_LIMITS) {
                if (!cmd.argument.empty()) {
@@ -530,8 +529,8 @@ MathScriptInset::priv_dispatch(LCursor & cur, FuncRequest const & cmd)
                        limits_ = hasLimits() ? -1 : 1;
                else
                        limits_ = 0;
-               return DispatchResult(true, true);
+               return;
        }
 
-       return MathNestInset::priv_dispatch(cur, cmd);
+       MathNestInset::priv_dispatch(cur, cmd);
 }