TBInlineSelect: add "unsigned" property
This commit is contained in:
parent
1c5c000a24
commit
454ef693db
@ -425,7 +425,8 @@ void TBInlineSelect::OnInflate(const INFLATE_INFO &info)
|
||||
{
|
||||
int min = info.node->GetValueInt("min", GetMinValue());
|
||||
int max = info.node->GetValueInt("max", GetMaxValue());
|
||||
SetLimits(min, max);
|
||||
bool unsigned_limits = info.node->GetValueInt("unsigned", AreLimitsUnsigned()) ? true : false;
|
||||
SetLimits(min, max, unsigned_limits);
|
||||
TBWidget::OnInflate(info);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user