From: Uwe Stöhr Date: Thu, 27 Sep 2007 21:03:26 +0000 (+0000) Subject: ButtonController.cpp: fix a bug introduced in r20018: don't enable all widgets in... X-Git-Tag: 1.6.10~8151 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=cf41e919eb35086b1506d71458f435364f2aad1c;p=features.git ButtonController.cpp: fix a bug introduced in r20018: don't enable all widgets in the dialog, see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg128222.html git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20548 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/ButtonController.cpp b/src/frontends/qt4/ButtonController.cpp index 82379e7749..872ead95b5 100644 --- a/src/frontends/qt4/ButtonController.cpp +++ b/src/frontends/qt4/ButtonController.cpp @@ -85,7 +85,10 @@ bool ButtonController::setReadOnly(bool ro) policy_.input(ro ? ButtonPolicy::SMI_READ_ONLY : ButtonPolicy::SMI_READ_WRITE); - refreshReadOnly(); + // refreshReadOnly(); This will enable all widgets in dialogs, no matter if + // they allowed to be enabled, so when you plan to + // reenable this call, read this before: + // http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg128222.html refresh(); return ro; }