From a67e5ab02b9bf63295dcc766a1b043692804f5de Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 8 Feb 2008 17:25:59 +0000 Subject: [PATCH] * Dialog::showView(): call checkStatus() after updateView() as some dialogs may re-enable some controls in updateView() (egg the paragraph dialog). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22868 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/Dialog.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/frontends/qt4/Dialog.cpp b/src/frontends/qt4/Dialog.cpp index 9eb05efc20..de358a63c0 100644 --- a/src/frontends/qt4/Dialog.cpp +++ b/src/frontends/qt4/Dialog.cpp @@ -184,10 +184,11 @@ void Dialog::updateData(string const & data) void Dialog::showView() { - // Make sure the dialog controls are correctly enabled/disabled. - checkStatus(); - // Make sure it is up-to-date. + // Make sure the dialog is up-to-date. updateView(); + // Make sure the dialog controls are correctly enabled/disabled with + // readonly status. + checkStatus(); if (exitEarly()) return; -- 2.39.2