This commit is contained in:
Serge
2024-09-30 18:24:14 +02:00
parent 4855733274
commit 917fe112b8

View File

@@ -326,6 +326,12 @@ namespace GHelper
return;
}
if (comboBoxLightingMode.SelectedIndex >= supportedLightingModes.Count)
{
// Unsupported mode
return;
}
LightingMode lm = supportedLightingModes[comboBoxLightingMode.SelectedIndex];
LightingSetting? ls = mouse.LightingSettingForZone(visibleZone);