From 3545dc0ee35fc68130be5c66aaeabcb2958d24f5 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 26 Sep 2007 14:50:35 +0000 Subject: [PATCH] Potential bug fix... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20517 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiDialog.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt4/GuiDialog.cpp b/src/frontends/qt4/GuiDialog.cpp index 941568ccf9..b53877bd9d 100644 --- a/src/frontends/qt4/GuiDialog.cpp +++ b/src/frontends/qt4/GuiDialog.cpp @@ -97,11 +97,10 @@ void GuiDialog::checkStatus() bc().setReadOnly(readonly); // refreshReadOnly() is too generous in _enabling_ widgets // update dialog to disable disabled widgets again -/* - * FIXME: + if (!readonly || controller().canApplyToReadOnly()) - update(); -*/ + updateView(); + } else { bc().setReadOnly(true); }