From 782493003bdfeadfcf16b3f6423ad7712d7045ec Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 31 Oct 2020 12:23:10 +0000 Subject: [PATCH] Tracerestrict: Fix counter action being shown when adv settingnot enabled --- src/tracerestrict_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracerestrict_gui.cpp b/src/tracerestrict_gui.cpp index c61892dead..260e24b17e 100644 --- a/src/tracerestrict_gui.cpp +++ b/src/tracerestrict_gui.cpp @@ -475,7 +475,7 @@ static const TraceRestrictDropDownListSet *GetTypeDropDownListSet(TraceRestrictG if (_settings_client.gui.show_adv_tracerestrict_features) { *hide_mask = 0; } else { - *hide_mask = is_conditional ? 0x1E0000 : 0xF0; + *hide_mask = is_conditional ? 0x1E0000 : 0x2F0; } } return is_conditional ? &set_cond : &set_action;