]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.C
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / MenuBackend.C
index daa9cd040e3b182f69da28c51d11dfe9a6dfc8ce..294599d1cf3e0042c23799418b6aea525c7b3c9b 100644 (file)
@@ -105,7 +105,9 @@ MenuItem::MenuItem(Kind kind, string const & label,
 MenuItem::MenuItem(Kind kind, string const & label,
                   FuncRequest const & func, bool optional)
        : kind_(kind), label_(label), func_(func), optional_(optional)
-{}
+{
+       func_.origin = FuncRequest::UI;
+}
 
 
 MenuItem::~MenuItem()