]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiView.cpp
Some fixes for the buttons of the Document and Preferences dialog:
[features.git] / src / frontends / qt4 / GuiView.cpp
index 521ccd2e6f1b1ecad3a042f863d3cc5aa2f1f06a..adeb400ef4c2458ba43ed1ec2eb46a54480586fe 100644 (file)
@@ -1999,7 +1999,7 @@ bool GuiView::dispatch(FuncRequest const & cmd)
                                inset->dispatch(view()->cursor(), fr);
                        } else if (name == "paragraph") {
                                lyx::dispatch(FuncRequest(LFUN_PARAGRAPH_UPDATE));
-                       } else if (name == "prefs") {
+                       } else if (name == "prefs" || name == "document") {
                                updateDialog(name, string());
                        }
                        break;