mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-14 08:17:14 +00:00
parent
f8346eb7e1
commit
1433ffd823
1 changed files with 5 additions and 5 deletions
|
@ -294,10 +294,10 @@ namespace PKHeX.WinForms
|
|||
}
|
||||
private void mainMenuExit(object sender, EventArgs e)
|
||||
{
|
||||
if (ModifierKeys != Keys.Control)
|
||||
Close(); // not triggered via hotkey
|
||||
if (ModifierKeys == Keys.Control) // triggered via hotkey
|
||||
if (DialogResult.Yes != WinFormsUtil.Prompt(MessageBoxButtons.YesNo, "Quit PKHeX?"))
|
||||
return;
|
||||
|
||||
if (DialogResult.Yes == WinFormsUtil.Prompt(MessageBoxButtons.YesNo, "Quit PKHeX?"))
|
||||
Close();
|
||||
}
|
||||
private void mainMenuAbout(object sender, EventArgs e) => new About().ShowDialog();
|
||||
|
|
Loading…
Reference in a new issue