Disallow box sorting if no boxes

This commit is contained in:
Kaphotics 2016-07-14 20:37:18 -07:00
parent a1c0db27c3
commit cb353e0065

View file

@ -2458,6 +2458,8 @@ namespace PKHeX
{
if (tabBoxMulti.SelectedIndex != 0)
return;
if (!SAV.HasBox)
return;
if (ModifierKeys == (Keys.Alt | Keys.Shift))
{
if (DialogResult.Yes != Util.Prompt(MessageBoxButtons.YesNo, "Clear ALL Boxes?!"))