mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: don't clear the filter when the widget is hidden
Only clear the filter when the user explicitly resets it. This way the user can toggle between the map and the filter widget without losing the filter state. Fixes #1952 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
106c682c03
commit
208b3bb9af
1 changed files with 0 additions and 1 deletions
|
@ -219,7 +219,6 @@ void FilterWidget2::showEvent(QShowEvent *event)
|
|||
void FilterWidget2::hideEvent(QHideEvent *event)
|
||||
{
|
||||
QWidget::hideEvent(event);
|
||||
clearFilter();
|
||||
}
|
||||
|
||||
void FilterWidget2::filterDataChanged(const FilterData &data)
|
||||
|
|
Loading…
Add table
Reference in a new issue