Enable dialogs that can apply for read-only documents.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29217 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-04-11 18:34:03 +00:00
parent 22a27d9609
commit c1dce34f53

View File

@ -228,7 +228,7 @@ void Dialog::checkStatus()
// check whether this dialog may be active
if (canApply()) {
bool const readonly = isBufferReadonly();
enableView(!readonly);
enableView(!readonly || canApplyToReadOnly());
// refreshReadOnly() is too generous in _enabling_ widgets
// update dialog to disable disabled widgets again