From d863a76f455250b60337fe794cb1a288ede9985b Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Sun, 18 May 2014 05:11:38 -0400 Subject: [PATCH] Correct my previous comment (thanks Kornel) --- src/insets/InsetGraphics.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/insets/InsetGraphics.cpp b/src/insets/InsetGraphics.cpp index 6fab7f0e16..1a63581dfa 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: -- 2.39.2