Fix Drag n' drop feature bypassing password check

This commit is contained in:
miku-666
2022-07-30 00:00:45 +02:00
parent 48652c329d
commit 38d61dc1e8
+4 -1
View File
@@ -2844,7 +2844,10 @@ namespace PckStudio
if (FileList.Length > 1)
MessageBox.Show("Only one pck file at a time is currently supported");
currentPCK = openPck(FileList[0]);
LoadEditorTab();
if (checkForPassword())
{
LoadEditorTab();
}
}
private void OpenPck_DragLeave(object sender, EventArgs e)