mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
Fix CTRL/ALT held during nickname update
Only should fire when sent from L_Species. (sure I could hard code it sender as Label == L_Species but nah) Thanks Joedor.
This commit is contained in:
parent
5915b38ee6
commit
0e021b42c6
1 changed files with 2 additions and 2 deletions
|
@ -1977,12 +1977,12 @@ namespace PKHeX
|
|||
}
|
||||
private void updateNickname(object sender, EventArgs e)
|
||||
{
|
||||
if (fieldsInitialized && ModifierKeys == Keys.Control) // Import Showdown
|
||||
if (fieldsInitialized && ModifierKeys == Keys.Control && sender != null) // Import Showdown
|
||||
{
|
||||
clickShowdownImportPK6(sender, e);
|
||||
return;
|
||||
}
|
||||
if (fieldsInitialized && ModifierKeys == Keys.Alt) // Export Showdown
|
||||
if (fieldsInitialized && ModifierKeys == Keys.Alt && sender != null) // Export Showdown
|
||||
{
|
||||
clickShowdownExportPK6(sender, e);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue