diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-01-25 22:41:07 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-01-26 08:05:39 -0800 |
commit | c383079626178269bf0a3afefe6828a1c44d4d76 (patch) | |
tree | d612e107f9f1e6930ad35f0e99be79ffbdeb58f6 /desktop-widgets/filterwidget2.h | |
parent | a455b32e0241ac6928293005ede8e2d79220533d (diff) | |
download | subsurface-c383079626178269bf0a3afefe6828a1c44d4d76.tar.gz |
Filter: implement close & reset
Implement the close & reset functionality, by reseting the
application state to "Default". This is currently the only
state from where the fiter can be called.
To make it consistent with CTRL^F, clear the filter in the
hide() slot, which is called in both cases.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/filterwidget2.h')
-rw-r--r-- | desktop-widgets/filterwidget2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/filterwidget2.h b/desktop-widgets/filterwidget2.h index 2988fac67..e07259de7 100644 --- a/desktop-widgets/filterwidget2.h +++ b/desktop-widgets/filterwidget2.h @@ -29,6 +29,7 @@ public slots: void updateLogged(int value); private slots: void clearFilter(); + void closeFilter(); void temperatureChanged(); void countsChanged(); |