mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-27 19:34:10 -05:00
Disallow exporting backup if sav is not exportable
CTRL-B could bypass the 'export' option being disabled.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user