Disallow exporting backup if sav is not exportable

CTRL-B could bypass the 'export' option being disabled.
This commit is contained in:
Kaphotics
2016-04-06 18:36:10 -07:00
parent d3fbaed225
commit 53e046fd7f

View File

@@ -2594,6 +2594,8 @@ private void clickVerifyCHK(object sender, EventArgs e)
}
private void clickExportSAVBAK(object sender, EventArgs e)
{
if (!SAV.Exportable)
return;
SaveFileDialog sfd = new SaveFileDialog
{ FileName = Util.CleanFileName(SAV.BAKName) };
if (sfd.ShowDialog() != DialogResult.OK)