Update 'W4Gui/Dialogs/EditWeaponDialog.cs'
This commit is contained in:
parent
38aa92cea2
commit
adc3ce62c2
|
@ -23,7 +23,7 @@ namespace W4Gui.Dialogs
|
|||
|
||||
private void EditWeaponDialog_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if(MessageBox.Show("Are you sure you want to exit?\nyou'll loose any changes you've made to the weapon.", "Are you sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
if(MessageBox.Show("Are you sure you want to exit?\nyou'll lose any changes you've made to the weapon.", "Are you sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
this.DialogResult = DialogResult.None;
|
||||
this.Close();
|
||||
|
|
Loading…
Reference in New Issue