From 175c03336e6b98983cfc3eb4591fd4c1f4141e96 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 16 Feb 2010 12:55:05 +0000 Subject: [PATCH] InsetBox: * update the button label when a parameter is changed. * Get rid of unused LFUN_INSET_DIALOG_UPDATE dispatch. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33486 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBox.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp index fe4f44b2cc..769a2aeff1 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -201,13 +201,10 @@ void InsetBox::doDispatch(Cursor & cur, FuncRequest & cmd) params_.type = cmd.getArg(1); else string2params(to_utf8(cmd.argument()), params_); + setButtonLabel(); break; } - case LFUN_INSET_DIALOG_UPDATE: - cur.bv().updateDialog("box", params2string(params_)); - break; - default: InsetCollapsable::doDispatch(cur, cmd); break; -- 2.39.2