this was not updated when we changed to use Context.AttachCommandEventHandler instead of Application.AttachCommandEventHandler

This commit is contained in:
Michael Becker 2021-05-21 19:43:27 -04:00
parent d2c5e6ccbc
commit 2fa8037c99
No known key found for this signature in database
GPG Key ID: 98C333A81F18C22C

View File

@ -332,7 +332,7 @@ namespace UniversalEditor.Editors.Multimedia.Audio.Synthesized.Views.PianoRoll
private void ContextMenu_Scale_Click(object sender, EventArgs e)
{
Command cmd = (sender as Command);
Command cmd = (e as CommandEventArgs).Command;
string sValue = cmd.ID.Substring("PianoRollEditor_ContextMenu_Scale_".Length);
if (Scales.ContainsKey(sValue))
{