diff --git a/src/frontends/qt/GuiTabular.cpp b/src/frontends/qt/GuiTabular.cpp index 21772ebc6f..5c32edc7d4 100644 --- a/src/frontends/qt/GuiTabular.cpp +++ b/src/frontends/qt/GuiTabular.cpp @@ -1278,7 +1278,7 @@ bool GuiTabular::checkWidgets(bool readonly) const bool GuiTabular::funcEnabled(Tabular::Feature f) const { - FuncRequest r(LFUN_INSET_MODIFY, "tabular for-dialog" + featureAsString(f)); + FuncRequest r(LFUN_INSET_MODIFY, "tabular for-dialog " + featureAsString(f)); return getStatus(r).enabled(); } diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 6f1b470ea7..aa07a69add 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -5378,7 +5378,7 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd) case LFUN_INSET_MODIFY: // we come from the dialog - if (cmd.getArg(0) == "tabular") + if (cmd.getArg(0) == "tabular" && cmd.getArg(1) != "for-dialog") tabularFeatures(cur, cmd.getLongArg(1)); else cur.undispatched();