Fix initial readonly enabling/disabling.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22843 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-07 16:14:58 +00:00
parent c43fc027bc
commit 680480d699

View 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;