mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-07-29 09:47:27 -05:00
Only export team if data exists
Try-catch already handles it, but let's be safe.
This commit is contained in:
parent
8232de08a4
commit
9bfeb050c9
|
|
@ -467,6 +467,7 @@ private void clickShowdownExportPK6(object sender, EventArgs e)
|
|||
}
|
||||
private void clickShowdownExportParty(object sender, EventArgs e)
|
||||
{
|
||||
if (SAV.PartyData.Length <= 0) return;
|
||||
try
|
||||
{
|
||||
Clipboard.SetText(
|
||||
|
|
@ -478,6 +479,7 @@ private void clickShowdownExportParty(object sender, EventArgs e)
|
|||
}
|
||||
private void clickShowdownExportBattleBox(object sender, EventArgs e)
|
||||
{
|
||||
if (SAV.BattleBoxData.Length <= 0) return;
|
||||
try
|
||||
{
|
||||
Clipboard.SetText(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user