commit d863a76f455250b60337fe794cb1a288ede9985b
Author: Scott Kostyshak <[email protected]>
Date:   Sun May 18 05:11:38 2014 -0400

    Correct my previous comment (thanks Kornel)

diff --git a/src/insets/InsetGraphics.cpp b/src/insets/InsetGraphics.cpp
index 6fab7f0..1a63581 100644
--- a/src/insets/InsetGraphics.cpp
+++ b/src/insets/InsetGraphics.cpp
@@ -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:

Reply via email to