From d765f7a991e3598cbf75aa317f1ab3392fa538b5 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 13 Nov 2014 14:24:09 -0800 Subject: When closing filter dialog via menu / shortcut, also reset them Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'qt-ui/mainwindow.cpp') 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); } -- cgit v1.2.3-70-g09d2