UI: Fixed Mono issue with SelectionChangeComitted event
Event doesn't appear to fire properly via keyboard input on Mono
This commit is contained in:
parent
fcc613811f
commit
abaf524e99
6 changed files with 6 additions and 6 deletions
2
GUI.NET/Controls/ctrlNsfPlayer.Designer.cs
generated
2
GUI.NET/Controls/ctrlNsfPlayer.Designer.cs
generated
|
@ -407,7 +407,7 @@
|
|||
this.cboTrack.Size = new System.Drawing.Size(47, 21);
|
||||
this.cboTrack.TabIndex = 8;
|
||||
this.cboTrack.DropDown += new System.EventHandler(this.cboTrack_DropDown);
|
||||
this.cboTrack.SelectionChangeCommitted += new System.EventHandler(this.cboTrack_SelectionChangeCommitted);
|
||||
this.cboTrack.SelectedIndexChanged += new System.EventHandler(this.cboTrack_SelectedIndexChanged);
|
||||
this.cboTrack.DropDownClosed += new System.EventHandler(this.cboTrack_DropDownClosed);
|
||||
//
|
||||
// lblTrackTotal
|
||||
|
|
|
@ -400,7 +400,7 @@ namespace Mesen.GUI.Controls
|
|||
_disableShortcutKeys = false;
|
||||
}
|
||||
|
||||
private void cboTrack_SelectionChangeCommitted(object sender, EventArgs e)
|
||||
private void cboTrack_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
int currentTrack = InteropEmu.NsfGetCurrentTrack();
|
||||
if(currentTrack != cboTrack.SelectedIndex) {
|
||||
|
|
|
@ -221,7 +221,7 @@
|
|||
this.cboChrSelection.Size = new System.Drawing.Size(150, 21);
|
||||
this.cboChrSelection.TabIndex = 1;
|
||||
this.cboChrSelection.DropDown += new System.EventHandler(this.cboChrSelection_DropDown);
|
||||
this.cboChrSelection.SelectionChangeCommitted += new System.EventHandler(this.cboChrSelection_SelectionChangeCommitted);
|
||||
this.cboChrSelection.SelectedIndexChanged += new System.EventHandler(this.cboChrSelection_SelectedIndexChanged);
|
||||
//
|
||||
// flpHighlight
|
||||
//
|
||||
|
|
|
@ -208,7 +208,7 @@ namespace Mesen.GUI.Debugger.Controls
|
|||
this.RefreshViewer();
|
||||
}
|
||||
|
||||
private void cboChrSelection_SelectionChangeCommitted(object sender, EventArgs e)
|
||||
private void cboChrSelection_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this._chrSelection = this.cboChrSelection.SelectedIndex;
|
||||
this.GetData();
|
||||
|
|
2
GUI.NET/Forms/Config/frmVideoConfig.Designer.cs
generated
2
GUI.NET/Forms/Config/frmVideoConfig.Designer.cs
generated
|
@ -317,7 +317,7 @@ namespace Mesen.GUI.Forms.Config
|
|||
this.cboAspectRatio.Name = "cboAspectRatio";
|
||||
this.cboAspectRatio.Size = new System.Drawing.Size(197, 21);
|
||||
this.cboAspectRatio.TabIndex = 16;
|
||||
this.cboAspectRatio.SelectionChangeCommitted += new System.EventHandler(this.cboAspectRatio_SelectionChangeCommitted);
|
||||
this.cboAspectRatio.SelectedIndexChanged += new System.EventHandler(this.cboAspectRatio_SelectedIndexChanged);
|
||||
//
|
||||
// lblCustomRatio
|
||||
//
|
||||
|
|
|
@ -374,7 +374,7 @@ namespace Mesen.GUI.Forms.Config
|
|||
}
|
||||
}
|
||||
|
||||
private void cboAspectRatio_SelectionChangeCommitted(object sender, EventArgs e)
|
||||
private void cboAspectRatio_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
UpdateCustomRatioVisibility();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue