diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-11-13 14:24:09 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-13 14:24:09 -0800 |
commit | d765f7a991e3598cbf75aa317f1ab3392fa538b5 (patch) | |
tree | dbfaead2ed377c30107d2c8603fa37536b9e217b /qt-ui/mainwindow.cpp | |
parent | 2cd31a30f26480553dcbd403f5ba51a345e0939d (diff) | |
download | subsurface-d765f7a991e3598cbf75aa317f1ab3392fa538b5.tar.gz |
When closing filter dialog via menu / shortcut, also reset them
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 5 |
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); } |