]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDialog.cpp
Fix the tab ordering of GuiDocument components.
[lyx.git] / src / frontends / qt4 / GuiDialog.cpp
index f7271ad2bdcd5edaddd51f1a7fe9e858e6fc965b..1797aeee5fec27f8362f9d98919bd5c6223510b0 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "GuiView.h"
 #include "qt_helpers.h"
-#include "FuncRequest.h"
 
 #include "support/debug.h"
 
@@ -26,7 +25,8 @@ namespace lyx {
 namespace frontend {
 
 GuiDialog::GuiDialog(GuiView & lv, QString const & name, QString const & title)
-       : QDialog(&lv), Dialog(lv, name, "LyX: " + title), is_closing_(false)
+       : QDialog(&lv), Dialog(lv, name, "LyX: " + title), updating_(false), 
+         is_closing_(false)
 {}
 
 
@@ -50,6 +50,13 @@ void GuiDialog::slotApply()
 }
 
 
+void GuiDialog::slotAutoApply()
+{
+       apply();
+       bc().autoApply();
+}
+
+
 void GuiDialog::slotOK()
 {
        is_closing_ = true;
@@ -113,4 +120,4 @@ void GuiDialog::updateView()
 } // namespace frontend
 } // namespace lyx
 
-#include "GuiDialog_moc.cpp"
+#include "moc_GuiDialog.cpp"