Debugger: Auto-focus on textbox for go to address form (+ same for add/edit cheat form)
This commit is contained in:
parent
98e6a83c15
commit
4b6d96834b
2 changed files with 12 additions and 0 deletions
|
@ -20,6 +20,12 @@ namespace Mesen.GUI.Debugger
|
|||
Entity = address;
|
||||
AddBinding("Address", txtAddress);
|
||||
}
|
||||
|
||||
protected override void OnShown(EventArgs e)
|
||||
{
|
||||
base.OnShown(e);
|
||||
txtAddress.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
public class GoToAddress
|
||||
|
|
|
@ -48,6 +48,12 @@ namespace Mesen.GUI.Forms.Cheats
|
|||
AddBinding("IsRelativeAddress", radRelativeAddress.Parent);
|
||||
}
|
||||
|
||||
protected override void OnShown(EventArgs e)
|
||||
{
|
||||
base.OnShown(e);
|
||||
txtCheatName.Focus();
|
||||
}
|
||||
|
||||
protected override Type BindedType
|
||||
{
|
||||
get { return typeof(CheatInfo); }
|
||||
|
|
Loading…
Add table
Reference in a new issue