the case for GuiView independent dialogs like about or prefs. But
for now it is.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23735
a592a061-630c-0410-9148-
cb99ea01b6c8
case LFUN_DIALOG_TOGGLE:
case LFUN_DIALOG_SHOW:
case LFUN_DIALOG_UPDATE:
- if (cmd.argument() == "prefs"
- || cmd.argument() == "aboutlyx")
- enable = true;
- else if (lyx_view_)
+ // FIXME: add special handling for about and prefs dialogs here
+ // which do not depend on GuiView.
+ if (lyx_view_)
return lyx_view_->getStatus(cmd);
else
enable = false;