Archived
Fixed: don't edit when nothing selected on listbox
This commit is contained in:
1 parent
6884dab9be
commit
817693ba41
1 file changed
+5
@@ -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