nitpick cleanup

This commit is contained in:
adelikat 2020-03-29 12:51:23 -05:00
parent e0e90a5f33
commit 7fce38c497
1 changed files with 1 additions and 6 deletions

View File

@ -583,12 +583,7 @@ namespace BizHawk.Client.EmuHawk
sfd.Filter = SessionsFSFilterSet.ToString();
sfd.RestoreDirectory = true;
var result = sfd.ShowHawkDialog();
if (result != DialogResult.OK)
{
return null;
}
return new FileInfo(sfd.FileName);
return result.IsOk() ? new FileInfo(sfd.FileName) : null;
}
private void SaveSessionAs()