X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FMenuBackend.C;h=294599d1cf3e0042c23799418b6aea525c7b3c9b;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=daa9cd040e3b182f69da28c51d11dfe9a6dfc8ce;hpb=e978fa42e38be22e9312be963ba6512fcd4b45ef;p=lyx.git diff --git a/src/MenuBackend.C b/src/MenuBackend.C index daa9cd040e..294599d1cf 100644 --- a/src/MenuBackend.C +++ b/src/MenuBackend.C @@ -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()