Debugger: Fixed ctrl/shift-clicking in breakpoint list

This commit is contained in:
Sour 2018-03-06 20:05:57 -05:00
parent 5d1d2d93b4
commit a81e328ec8

View file

@ -20,11 +20,12 @@ namespace Mesen.GUI.Controls
protected override void OnItemCheck(ItemCheckEventArgs e)
{
if(this._preventCheck) {
if(this._preventCheck || Control.ModifierKeys.HasFlag(Keys.Control) || Control.ModifierKeys.HasFlag(Keys.Shift)) {
e.NewValue = e.CurrentValue;
this._preventCheck = false;
} else
} else {
base.OnItemCheck(e);
}
}
protected override void OnMouseDown(MouseEventArgs e)