mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Skip unsupported Lighting modes https://github.com/seerge/g-helper/issues/3195
This commit is contained in:
@@ -326,6 +326,12 @@ namespace GHelper
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (comboBoxLightingMode.SelectedIndex >= supportedLightingModes.Count)
|
||||||
|
{
|
||||||
|
// Unsupported mode
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
LightingMode lm = supportedLightingModes[comboBoxLightingMode.SelectedIndex];
|
LightingMode lm = supportedLightingModes[comboBoxLightingMode.SelectedIndex];
|
||||||
|
|
||||||
LightingSetting? ls = mouse.LightingSettingForZone(visibleZone);
|
LightingSetting? ls = mouse.LightingSettingForZone(visibleZone);
|
||||||
|
|||||||
Reference in New Issue
Block a user