Fix selection change event being invoked with wrong mod

This commit is contained in:
Bartłomiej Dach 2021-01-08 17:02:57 +01:00
parent c208800150
commit 0cf5be3ef4
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ private bool changeSelectedIndex(int newIndex)
foregroundIcon.Selected.Value = Selected;
});
SelectionChanged?.Invoke(newSelection);
SelectionChanged?.Invoke(SelectedMod);
return true;
}