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:
Vincent van Ravesteijn 2009-12-31 16:43:43 +00:00
parent 9ab24e95b9
commit 6a5a1726d7

View File

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