mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Update the view also when the document is read-only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32694 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9ab24e95b9
commit
6a5a1726d7
@ -218,7 +218,7 @@ Inset const * Dialog::inset(InsetCode code) const
|
||||
|
||||
void Dialog::checkStatus()
|
||||
{
|
||||
// buffer independant dialogs are always active.
|
||||
// buffer independent dialogs are always active.
|
||||
// This check allows us leave canApply unimplemented for some dialogs.
|
||||
if (!isBufferDependent()) {
|
||||
updateView();
|
||||
@ -238,9 +238,7 @@ void Dialog::checkStatus()
|
||||
// refreshReadOnly() is too generous in _enabling_ widgets
|
||||
// update dialog to disable disabled widgets again
|
||||
|
||||
if (!readonly || canApplyToReadOnly())
|
||||
updateView();
|
||||
|
||||
updateView();
|
||||
} else
|
||||
enableView(false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user