]> git.lyx.org Git - features.git/commitdiff
Correct my previous comment (thanks Kornel)
authorScott Kostyshak <skostysh@lyx.org>
Sun, 18 May 2014 09:11:38 +0000 (05:11 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 18 May 2014 09:14:05 +0000 (05:14 -0400)
src/insets/InsetGraphics.cpp

index 6fab7f0e16c20317aed81f6e4bc98cd20d86bacf..1a63581dfa43ac4d8fc0fb60004b3880baf510b1 100644 (file)
@@ -246,10 +246,9 @@ bool InsetGraphics::getStatus(Cursor & cur, FuncRequest const & cmd,
 {
        switch (cmd.action()) {
        case LFUN_INSET_MODIFY:
-               if (cmd.getArg(0) != "graphics") {
-                       // fall through
+               if (cmd.getArg(0) != "graphics")
                        return Inset::getStatus(cur, cmd, flag);
-               }
+               // fall through
        case LFUN_INSET_EDIT:
        case LFUN_INSET_DIALOG_UPDATE:
        case LFUN_GRAPHICS_RELOAD: