]> git.lyx.org Git - features.git/commitdiff
Fix initial readonly enabling/disabling.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 7 Feb 2008 16:14:58 +0000 (16:14 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 7 Feb 2008 16:14:58 +0000 (16:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22843 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/Dialog.cpp

index 96fa1520ac4e4dda996ba3c598d0cdd2ac29dcb3..9eb05efc2034d82215b30dc73dc706d6e878613f 100644 (file)
@@ -184,7 +184,10 @@ void Dialog::updateData(string const & data)
 
 void Dialog::showView()
 {
-       updateView();  // make sure its up-to-date
+       // Make sure the dialog controls are correctly enabled/disabled.
+       checkStatus();
+       // Make sure it is up-to-date.
+       updateView(); 
        if (exitEarly())
                return;