-// -*- C++ -*-
/* This file is part of
* ======================================================
*
#include "ControlButtons.h"
#include "ButtonControllerBase.h"
#include "ViewBase.h"
+#include "lyxrc.h"
+
+ControlButtons::ControlButtons()
+ : is_closing_(false)
+{}
+
void ControlButtons::ApplyButton()
{
void ControlButtons::OKButton()
{
+ is_closing_ = true;
apply();
+ is_closing_ = false;
hide();
bc().ok();
}
update();
bc().restore();
}
+
+
+bool ControlButtons::IconifyWithMain() const
+{
+ return lyxrc.dialogs_iconify_with_main;
+}