void Dialog::dispatch(FuncRequest const & fr) const
{
- theLyXFunc().setLyXView(lyxview_);
lyx::dispatch(fr);
}
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();
// refreshReadOnly() is too generous in _enabling_ widgets
// update dialog to disable disabled widgets again
- if (!readonly || canApplyToReadOnly())
- updateView();
-
+ updateView();
} else
enableView(false);
}