Page 1 of 1

filter with flag = 4 - toggles

Posted: 09 Nov 2015 14:04
by highend

Code: Select all

filter "|Recycle bin" !"$recycle.bin", 4;
If I understand the flags description properly, the 4 should always set the filter and not toggle it.

But that example code always toggles the filter instead of just setting it...

Re: filter with flag = 4 - toggles

Posted: 09 Nov 2015 14:25
by admin
Probably you ticked this:

Configuration | Find Files & Branch View | Visual Filters | Toggle on same filter

Re: filter with flag = 4 - toggles

Posted: 09 Nov 2015 14:38
by highend
Yes, it's checked. This is by default on, even on fresh.

Doesn't it make more sense that the script command ignores this setting from the .ini?

Re: filter with flag = 4 - toggles

Posted: 09 Nov 2015 14:48
by admin
I would think so. :) I see what I can do...

EDIT: OH, actually it was indeed nothing but a little bug! :bug: Fix comes...

Re: filter with flag = 4 - toggles

Posted: 09 Nov 2015 14:50
by highend
Great, thanks!