mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 01:22:18 +00:00
Thing/Linedef/Sector editing dialog: fixed a crash when pressing the up key in the action input box when the last action is selected. Fixes #493.
This commit is contained in:
parent
8330c70a41
commit
bb5780cf28
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
}
|
||||
if(e.KeyCode == Keys.Up)
|
||||
{
|
||||
if(list.SelectedIndex < list.Items.Count)
|
||||
if(list.SelectedIndex < list.Items.Count - 1)
|
||||
{
|
||||
list.SelectedIndex++;
|
||||
list_SelectionChangeCommitted(list, EventArgs.Empty);
|
||||
|
|
Loading…
Reference in a new issue