From b6ce46fb941cc5daa3ceb1120781d2d96defb9ca Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sat, 18 Apr 2009 17:02:48 +0000 Subject: [PATCH] InsetInfo: simplify. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29317 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetInfo.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp index 61fb735f6f..35a7e4475e 100644 --- a/src/insets/InsetInfo.cpp +++ b/src/insets/InsetInfo.cpp @@ -200,18 +200,14 @@ bool InsetInfo::getStatus(Cursor & cur, FuncRequest const & cmd, return InsetCollapsable::getStatus(cur, cmd, flag); case LFUN_INSET_DIALOG_UPDATE: + case LFUN_INSET_MODIFY: case LFUN_INSET_SETTINGS: flag.setEnabled(true); return true; - case LFUN_INSET_MODIFY: - flag.setEnabled(true); - break; - default: return false; } - return true; }