]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.cpp
More switches and whitespace fixes
[lyx.git] / src / insets / InsetGraphics.cpp
index 6fab7f0e16c20317aed81f6e4bc98cd20d86bacf..3055be90935deb7121acf4bb189830dd56771226 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: