UI: Fixed key select screen being shown behind current form when option to display window on top is enabled
This commit is contained in:
parent
c519ec3ec8
commit
81dbafe405
2 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ namespace Mesen.GUI.Forms.Config
|
|||
protected void btnMapping_Click(object sender, EventArgs e)
|
||||
{
|
||||
using(frmGetKey frm = new frmGetKey(true)) {
|
||||
frm.ShowDialog();
|
||||
((Form)frm).ShowDialog(this);
|
||||
((Button)sender).Text = frm.ShortcutKey.ToString();
|
||||
((Button)sender).Tag = frm.ShortcutKey.Key1;
|
||||
}
|
||||
|
|
|
@ -219,7 +219,7 @@ namespace Mesen.GUI.Forms.Config
|
|||
CheckConflicts();
|
||||
} else if(e.Button == MouseButtons.Left) {
|
||||
using(frmGetKey frm = new frmGetKey(false)) {
|
||||
frm.ShowDialog();
|
||||
((Form)frm).ShowDialog(this);
|
||||
button.Value = frm.ShortcutKey.ToString();
|
||||
button.Tag = frm.ShortcutKey;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue