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:
codeimp 2009-07-23 09:43:51 +00:00
parent 29972eae8e
commit 50d06210df

View file

@ -144,6 +144,7 @@ namespace CodeImp.DoomBuilder.Controls
int newvalue = GetResult(0) - scrollbuttons.Value;
if(newvalue < 0) newvalue = 0;
combobox.Text = newvalue.ToString();
combobox_Validating(sender, new CancelEventArgs());
}
scrollbuttons.Value = 0;
ignorebuttonchange = false;