]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetText.cpp
Revert "Fix environment-split when at pos 0 of a frame title."
[features.git] / src / insets / InsetText.cpp
index a733588ef25f4097bcd5a9268b56967977e9db74..b19b3841ae6689ea0776c2dffd66ab172aec976e 100644 (file)
@@ -360,7 +360,6 @@ bool InsetText::getStatus(Cursor & cur, FuncRequest const & cmd,
 
        case LFUN_ARGUMENT_INSERT: {
                string const arg = cmd.getArg(0);
-               bool const force = cmd.getArg(1) == "force";
                if (arg.empty()) {
                        status.setEnabled(false);
                        return true;
@@ -375,7 +374,7 @@ bool InsetText::getStatus(Cursor & cur, FuncRequest const & cmd,
                        for (Paragraph const & par : paragraphs())
                                for (auto const & table : par.insetList())
                                        if (InsetArgument const * ins = table.inset->asInsetArgument())
-                                               if (ins->name() == arg && !force) {
+                                               if (ins->name() == arg) {
                                                        // we have this already
                                                        status.setEnabled(false);
                                                        return true;