Tracerestrict: Make condition type dropdown variable width

This commit is contained in:
Jonathan G Rennison
2020-11-27 17:44:14 +00:00
parent 2ad446369d
commit ec339b1dfa
2 changed files with 9 additions and 3 deletions

View File

@@ -1585,7 +1585,7 @@ public:
if (type != TRIT_NULL) {
uint32 hide_mask = 0;
const TraceRestrictDropDownListSet *set = GetTypeDropDownListSet(type, &hide_mask);
this->ShowDropDownListWithValue(set, type, false, widget, 0, hide_mask, 0);
this->ShowDropDownListWithValue(set, type, false, widget, 0, hide_mask, UINT_MAX);
}
break;
}