]> git.lyx.org Git - features.git/blobdiff - src/lyxfunc.C
Change MenuBackend and the other menuclasses to store a docstring. Do the required...
[features.git] / src / lyxfunc.C
index 44b13b27d45022b5598342cbd7b5501bcb7f3cb3..8233460c38853392b05b98b807e6c5bc79e88d25 100644 (file)
@@ -1108,7 +1108,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                        break;
 
                case LFUN_MENU_OPEN:
-                       owner->getMenubar().openByName(argument);
+                       owner->getMenubar().openByName(lyx::from_utf8(argument));
                        break;
 
                // --- lyxserver commands ----------------------------