Potential bug fix...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20517 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-09-26 14:50:35 +00:00
parent 66b5fb67b3
commit 3545dc0ee3

View File

@ -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);
}