Fixed: don't edit when nothing selected on listbox

This commit is contained in:
Ray 2021-07-28 20:36:22 +01:00
parent 6884dab9be
commit 817693ba41

View File

@ -312,6 +312,11 @@ namespace FizzyLauncher.Windows.Forms
return; return;
} }
if (listBox1.ListBox.SelectedIndex < 0)
{
return;
}
EditTileForm.ShowEditDialog(listBox1); EditTileForm.ShowEditDialog(listBox1);
} }