]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathHull.C
This commit cleans up everything related to singleton. The other important change...
[lyx.git] / src / mathed / InsetMathHull.C
index 1a3a85fe51e9f570c7cf3c3b4bec41e6ff729e36..c6f12f352397debe43d04ce429d990689f936bdd 100644 (file)
@@ -1121,7 +1121,8 @@ void InsetMathHull::doDispatch(LCursor & cur, FuncRequest & cmd)
                                numbered(r, true);
                        string old = label(r);
                        if (str != old) {
-                               cur.bv().buffer()->changeRefsIfUnique(old, str);
+                               cur.bv().buffer()->changeRefsIfUnique(old, str,
+                                                       InsetBase::REF_CODE);
                                label(r, str);
                        }
                        break;
@@ -1274,7 +1275,7 @@ void InsetMathHull::mutateToText()
                view_->getIntl()->getTransManager().TranslateAndInsert(*cit, lt);
 
        // remove ourselves
-       //theApp->lyxFunc().dispatch(LFUN_ESCAPE);
+       //lyx::dispatch(LFUN_ESCAPE);
 #endif
 }