mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-04 15:15:01 +00:00
ItemSelectionPopUp - Fix 'okBtn_Click' condition
This commit is contained in:
@@ -27,8 +27,11 @@ namespace PckStudio.Forms.Additional_Popups
|
||||
|
||||
private void okBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(ComboBox.SelectedIndex > -1)
|
||||
if(ComboBox.SelectedIndex <= -1)
|
||||
{
|
||||
cancelButton_Click(sender, e);
|
||||
return;
|
||||
}
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user