When closing filter dialog via menu / shortcut, also reset them

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-11-13 14:24:09 -08:00
parent 2cd31a30f2
commit d765f7a991

View file

@ -1399,5 +1399,8 @@ void MainWindow::on_paste_triggered()
void MainWindow::on_actionFilterTags_triggered()
{
ui.multiFilter->setVisible(!ui.multiFilter->isVisible());
if (ui.multiFilter->isVisible())
ui.multiFilter->closeFilter();
else
ui.multiFilter->setVisible(true);
}