summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/filterwidget2.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-02-18 12:43:34 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-02-19 12:02:58 -0800
commit106c682c03eb48b7248f05bc932cd7dbb9aac35b (patch)
tree86cebe20693dacd6b366b8b9efaa8699f60b44ee /desktop-widgets/filterwidget2.h
parent0d7d3479521e520a25b150ce832a7504e3ac00f1 (diff)
downloadsubsurface-106c682c03eb48b7248f05bc932cd7dbb9aac35b.tar.gz
Desktop: track if the filter widget is active
This is not perfect - if you open the filter, set some criterion and then remove it again (without resetting the filter), this variable will give you a false positive). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/filterwidget2.h')
-rw-r--r--desktop-widgets/filterwidget2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/filterwidget2.h b/desktop-widgets/filterwidget2.h
index e07259de7..d974fb78f 100644
--- a/desktop-widgets/filterwidget2.h
+++ b/desktop-widgets/filterwidget2.h
@@ -35,6 +35,7 @@ private slots:
private:
bool ignoreSignal;
+ bool isActive() const;
Ui::FilterWidget2 ui;
void filterDataChanged(const FilterData &data);
FilterData filterData;