]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Dialogs.C
do not define boost::throw_exceptions if we are compiling with exceptions
[lyx.git] / src / frontends / Dialogs.C
index 4fc07a815e4ee4ac7ec05efe169869f29123da21..5ea2ef5ad3347dea7fa529b244aa8345e074ac29 100644 (file)
@@ -69,6 +69,7 @@ Dialogs::Dialogs(LyXView & lyxview)
 {
        // Connect signals
        redrawGUI().connect(boost::bind(&Dialogs::redraw, this));
+       hideSignal().connect(boost::bind(&Dialogs::hideSlot, this, _1, _2));
 }
 
 
@@ -98,7 +99,7 @@ void Dialogs::show(string const & name, string const & data)
        if (dialog) {
                // FIXME! Should check that the dialog is NOT an inset dialog.
                dialog->show(data);
-       }       
+       }
        in_show_ = false;
 }