X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInset.cpp;h=ae91223d0ad210c27e305610a3511c37351c725b;hb=2d40854a462385138ebbb2a2e20cc112606876c8;hp=06d56e66ef399fd91fd2f6dcdd3b4c8385453e99;hpb=305ac4e923347666988c2053fcd149c0420e53b6;p=lyx.git diff --git a/src/insets/Inset.cpp b/src/insets/Inset.cpp index 06d56e66ef..ae91223d0a 100644 --- a/src/insets/Inset.cpp +++ b/src/insets/Inset.cpp @@ -224,6 +224,9 @@ void Inset::doDispatch(Cursor & cur, FuncRequest &cmd) edit(cur, true); cur.dispatched(); break; + case LFUN_INSET_SETTINGS: + showInsetDialog(&cur.bv()); + break; default: cur.noUpdate(); cur.undispatched(); @@ -263,6 +266,10 @@ bool Inset::getStatus(Cursor &, FuncRequest const & cmd, flag.setEnabled(editable() == IS_EDITABLE); return true; + case LFUN_INSET_SETTINGS: + flag.setEnabled(false); + return true; + default: break; }