mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-02 22:56:57 +00:00
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
@ -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…
Reference in New Issue
Block a user