aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 66ebb61b4..3300d3ffa 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -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);
}