Skip to content

Fix cli profile mode loading

This MR fixes a small bug that caused the selection of incorrect lighting modes when loading a profile in cli mode. Loading profiles from the gui was not affected.

After loading the profile OpenRGB checks for the "--mode" command line argument. If absent the desired mode for each rgb controller was mistakenly set to false (=0) instead of leaving it unchanged.

Steps to reproduce:

  • Create a profile with an active mode which isn't the first mode for the controller.
  • Start OpenRGB with "-p Profile".
  • Lights should switch to the desired mode for a moment, then back to the first mode.

Merge request reports

Loading