fixed advanced search not closing

This commit is contained in:
csoler 2016-09-27 21:09:13 +02:00
parent c26970feba
commit 5547d71ac7

View file

@ -738,8 +738,8 @@ void SearchDialog::showAdvSearchDialog(bool show)
if (advSearchDialog == 0 && show) if (advSearchDialog == 0 && show)
{ {
advSearchDialog = new AdvancedSearchDialog(); advSearchDialog = new AdvancedSearchDialog();
connect(advSearchDialog, SIGNAL(search(Expression*)), connect(advSearchDialog, SIGNAL(search(RsRegularExpression::Expression*)),
this, SLOT(advancedSearch(Expression*))); this, SLOT(advancedSearch(RsRegularExpression::Expression*)));
} }
if (show) { if (show) {
advSearchDialog->show(); advSearchDialog->show();