X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FDialogs.C;h=5ea2ef5ad3347dea7fa529b244aa8345e074ac29;hb=e7fc677261bd14fdf159e594fcf422e985c72664;hp=4fc07a815e4ee4ac7ec05efe169869f29123da21;hpb=a1ba34bef91968146b5a8066d48a1c2c5f0d6c94;p=lyx.git diff --git a/src/frontends/Dialogs.C b/src/frontends/Dialogs.C index 4fc07a815e..5ea2ef5ad3 100644 --- a/src/frontends/Dialogs.C +++ b/src/frontends/Dialogs.C @@ -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; }