Tracerestrict: Fix counter action being shown when adv settingnot enabled

This commit is contained in:
Jonathan G Rennison
2020-10-31 12:23:10 +00:00
parent 22d2b4cc90
commit 782493003b

View File

@@ -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;