Fixed: don't edit when nothing selected on listbox
This commit is contained in:
parent
6884dab9be
commit
817693ba41
@ -312,6 +312,11 @@ namespace FizzyLauncher.Windows.Forms
|
||||
return;
|
||||
}
|
||||
|
||||
if (listBox1.ListBox.SelectedIndex < 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
EditTileForm.ShowEditDialog(listBox1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user