#include "GuiView.h"
#include "qt_helpers.h"
-#include "FuncRequest.h"
#include "support/debug.h"
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)
{}
}
+void GuiDialog::slotAutoApply()
+{
+ apply();
+ bc().autoApply();
+}
+
+
void GuiDialog::slotOK()
{
is_closing_ = true;