Merge pull request #1427 from egzonqj/master

Fix Underground button to be only enabled for DPPt
This commit is contained in:
Kurt 2017-08-27 16:06:41 -07:00 committed by GitHub
commit 7684690542

View file

@ -989,6 +989,7 @@ namespace PKHeX.WinForms.Controls
B_OpenHoneyTreeEditor.Enabled = sav.DP || sav.Pt;
B_OpenRTCEditor.Enabled = sav.RS || sav.E;
B_OpenUGSEditor.Enabled = sav.DP || sav.Pt;
}
GB_SAVtools.Visible = sav.Exportable && FLP_SAVtools.Controls.Cast<Control>().Any(c => c.Enabled);
foreach (Control c in FLP_SAVtools.Controls.Cast<Control>())