Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't call applyEffect with bogus parameter for Custom Effect
Previously when the "Custom Effect" combobox item was added and selected, this callback was called but because there's no item data we kind of just by conincidence did the correct things but also called the callback with RazerEffect::Off which again, by conincidence didn't have any bad side effects. Still for predictable behavior, handle this case better and more explicitly.
- Loading branch information