Fixed Audio Editor immediately closing

This commit is contained in:
miku-666
2022-12-23 17:36:26 +01:00
parent f885238a20
commit 8b0de40fa5
2 changed files with 2518 additions and 4 deletions

View File

@@ -396,8 +396,10 @@ namespace PckStudio.Forms.Editor
private void AudioEditor_Shown(object sender, EventArgs e)
{
if (Owner.Owner is MainForm p) parent = p;
else Close();
if (Owner is MainForm p)
parent = p;
else
Close();
}
private async void bulkReplaceExistingFilesToolStripMenuItem_Click(object sender, EventArgs e)

File diff suppressed because it is too large Load Diff