mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-18 18:11:13 +00:00
Fixed a bug in the thing/linedef argument input boxes that caused an incorrect value when only increased/decreased with the up/down buttons
This commit is contained in:
parent
29972eae8e
commit
50d06210df
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ namespace CodeImp.DoomBuilder.Controls
|
||||||
int newvalue = GetResult(0) - scrollbuttons.Value;
|
int newvalue = GetResult(0) - scrollbuttons.Value;
|
||||||
if(newvalue < 0) newvalue = 0;
|
if(newvalue < 0) newvalue = 0;
|
||||||
combobox.Text = newvalue.ToString();
|
combobox.Text = newvalue.ToString();
|
||||||
|
combobox_Validating(sender, new CancelEventArgs());
|
||||||
}
|
}
|
||||||
scrollbuttons.Value = 0;
|
scrollbuttons.Value = 0;
|
||||||
ignorebuttonchange = false;
|
ignorebuttonchange = false;
|
||||||
|
|
Loading…
Reference in a new issue