Skip to content

Commit 7529570

Browse files
author
feos
committed
tastudio: unbreak things if user cancels movie conversion on file open
1 parent 9417068 commit 7529570

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,10 @@ private void OpenTasMenuItem_Click(object sender, EventArgs e)
7272
}
7373
else if (ofd.FileName.EndsWith(".bkm") || ofd.FileName.EndsWith(".bk2")) // todo: proper extention iteration
7474
{
75-
Mainform.StartNewMovie(MovieService.Get(ofd.FileName), false);
76-
7775
var result1 = MessageBox.Show("This is a regular movie, a new project must be created from it, in order to use in TAStudio\nProceed?", "Convert movie", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
7876
if (result1 == DialogResult.OK)
7977
{
78+
Mainform.StartNewMovie(MovieService.Get(ofd.FileName), false);
8079
ConvertCurrentMovieToTasproj();
8180
StartNewMovieWrapper(false);
8281
SetUpColumns();

0 commit comments

Comments
 (0)