tastudio: unbreak things if user cancels movie conversion on file open
This commit is contained in:
parent
94170687a4
commit
7529570ab8
|
@ -72,11 +72,10 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
else if (ofd.FileName.EndsWith(".bkm") || ofd.FileName.EndsWith(".bk2")) // todo: proper extention iteration
|
else if (ofd.FileName.EndsWith(".bkm") || ofd.FileName.EndsWith(".bk2")) // todo: proper extention iteration
|
||||||
{
|
{
|
||||||
Mainform.StartNewMovie(MovieService.Get(ofd.FileName), false);
|
|
||||||
|
|
||||||
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);
|
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);
|
||||||
if (result1 == DialogResult.OK)
|
if (result1 == DialogResult.OK)
|
||||||
{
|
{
|
||||||
|
Mainform.StartNewMovie(MovieService.Get(ofd.FileName), false);
|
||||||
ConvertCurrentMovieToTasproj();
|
ConvertCurrentMovieToTasproj();
|
||||||
StartNewMovieWrapper(false);
|
StartNewMovieWrapper(false);
|
||||||
SetUpColumns();
|
SetUpColumns();
|
||||||
|
|
Loading…
Reference in New Issue