Add a check for clearing the Gameshark Tool's text boxes. And actually clear both.
This commit is contained in:
parent
9714aa5cc9
commit
f1ddafa6de
|
@ -3208,8 +3208,12 @@ namespace BizHawk.Client.EmuHawk
|
||||||
private void btnClear_Click(object sender, EventArgs e)
|
private void btnClear_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
//Clear old Inputs
|
//Clear old Inputs
|
||||||
|
DialogResult result = MessageBox.Show("Are you sure you want to clear this form?", "Clear Form", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||||
|
if (result == DialogResult.Yes)
|
||||||
|
{
|
||||||
txtDescription.Clear();
|
txtDescription.Clear();
|
||||||
|
txtCheat.Clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void GameShark_Load(object sender, EventArgs e)
|
private void GameShark_Load(object sender, EventArgs e)
|
||||||
|
|
Loading…
Reference in New Issue