]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.cpp
Check character encodability with pass-thru in command insets
[lyx.git] / src / insets / InsetNote.cpp
index 1c039c3bc52e9742a6f031c90aa9c870d3bce72f..02f47ba30e78075cc6385168b9ea902bdd778d5e 100644 (file)
@@ -186,9 +186,6 @@ bool InsetNote::getStatus(Cursor & cur, FuncRequest const & cmd,
        switch (cmd.action()) {
 
        case LFUN_INSET_MODIFY:
-               // disallow comment and greyed out in commands
-               flag.setEnabled(!cur.paragraph().layout().isCommand() ||
-                               cmd.getArg(2) == "Note");
                if (cmd.getArg(0) == "note") {
                        InsetNoteParams params;
                        string2params(to_utf8(cmd.argument()), params);