Skip to content

Commit e629cdc

Browse files
committed
also allow reset.
Next thing to do: Make loading of older jaspfiles actually work. Just like saving and loading
1 parent 7e4c04a commit e629cdc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CommonData/dataset.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ void DataSet::showFilter(Filter * f)
6767

6868
void DataSet::showFilter(const std::string &filterName)
6969
{
70+
if(filterName == "")
71+
{
72+
_shownFilter = nullptr;
73+
return;
74+
}
75+
7076
Filter * found = filter(filterName);;
7177

7278
try

0 commit comments

Comments
 (0)