X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetGraphics.cpp;h=3055be90935deb7121acf4bb189830dd56771226;hb=fd5d47d182a70de532225715a04b77fe4155aa18;hp=6fab7f0e16c20317aed81f6e4bc98cd20d86bacf;hpb=10df612191d8ce7bb6af886eadd92e01f30eb5e0;p=lyx.git diff --git a/src/insets/InsetGraphics.cpp b/src/insets/InsetGraphics.cpp index 6fab7f0e16..3055be9093 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: