Add a check for clearing the Gameshark Tool's text boxes. And actually clear both.
This commit is contained in:
parent
9714aa5cc9
commit
f1ddafa6de
|
@ -154,8 +154,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
public void Restart()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void NewUpdate(ToolFormUpdateType type) { }
|
||||
|
||||
public void UpdateValues()
|
||||
|
@ -3206,10 +3206,14 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
}
|
||||
private void btnClear_Click(object sender, EventArgs e)
|
||||
{
|
||||
//Clear old Inputs
|
||||
|
||||
txtDescription.Clear();
|
||||
{
|
||||
//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();
|
||||
txtCheat.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
private void GameShark_Load(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in New Issue