]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlButtons.C
The reference dialog now disconnects from the inset on Apply. Its behaviour
[lyx.git] / src / frontends / controllers / ControlButtons.C
index 0e381f8247301f6293a81ed34ca7838d685adfd2..06f31205eb93c8cfcaa5e665c3039c5e3966bbd9 100644 (file)
@@ -20,6 +20,7 @@
 #include "ControlButtons.h"
 #include "ButtonControllerBase.h"
 #include "ViewBase.h"
+#include "lyxrc.h"
 
 ControlButtons::ControlButtons()
        : is_closing_(false)
@@ -55,3 +56,9 @@ void ControlButtons::RestoreButton()
        update();
        bc().restore();
 }
+
+
+bool ControlButtons::IconifyWithMain() const
+{
+        return lyxrc.dialogs_iconify_with_main;
+}