mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
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:
parent
22a27d9609
commit
c1dce34f53
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user