]> git.lyx.org Git - features.git/blobdiff - src/LyXFunc.cpp
Inset::translate() -> lyx::insetCode()
[features.git] / src / LyXFunc.cpp
index ba730c81bad250d5f29d104e3cdfcebd12dbc416..e8c16577bf8f69b8fd7d3f6c7cf2851fc21cfdc9 100644 (file)
@@ -1687,7 +1687,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                        string action;
                        string const name = split(argument, action, ' ');
                        InsetCode const inset_code =
-                               Inset::translate(name);
+                               insetCode(name);
 
                        Cursor & cur = view()->cursor();
                        FuncRequest fr(LFUN_INSET_TOGGLE, action);