#include "textpainter.h"
#include "frontends/Dialogs.h"
#include "intl.h"
#include "textpainter.h"
#include "frontends/Dialogs.h"
#include "intl.h"
-#include "../insets/insetcommandparams.h"
+#include "insets/insetcommandparams.h"
InsetCommandParams p("ref");
bv->owner()->getDialogs()->createRef(p.getAsString());
} else {
InsetCommandParams p("ref");
bv->owner()->getDialogs()->createRef(p.getAsString());
} else {
- //mathcursor->handleNest(new RefInset);
+ //mathcursor->handleNest(new InsetRef2);
//mathcursor->insert(arg);
//mathcursor->insert(arg);
- mathcursor->insert(MathAtom(new RefInset(arg)));
+ mathcursor->insert(MathAtom(new InsetRef2(arg)));
}
updateLocal(bv, true);
break;
}
updateLocal(bv, true);
break;