]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.cpp
Move handling of LFUN_INSET_SETTINGS to Inset.cpp
[lyx.git] / src / insets / Inset.cpp
index 06d56e66ef399fd91fd2f6dcdd3b4c8385453e99..ae91223d0ad210c27e305610a3511c37351c725b 100644 (file)
@@ -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;
        }