mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-30 12:30:29 -04:00
Don't allow negative initial detection delay
This commit is contained in:
1 parent
eb86697032
commit
31485ce456
2 files changed
+2
-1
No files matched your search
@@ -241,6 +241,7 @@ ResourceManager::ResourceManager()
|
||||
detection_settings_schema["initial_detection_delay_ms"]["title"] = QT_TRANSLATE_NOOP("Settings", "Initial Detection Delay (ms)");
|
||||
detection_settings_schema["initial_detection_delay_ms"]["type"] = "integer";
|
||||
detection_settings_schema["initial_detection_delay_ms"]["description"] = QT_TRANSLATE_NOOP("Settings", "Amount of time, in milliseconds, to wait before detecting devices when started");
|
||||
detection_settings_schema["initial_detection_delay_ms"]["minimum"] = 0;
|
||||
|
||||
settings_manager->RegisterSettingsSchemaIgnoreFilter("Detectors", QT_TRANSLATE_NOOP("Settings", "Detection"), detection_settings_schema);
|
||||
|
||||
|
||||
Reference in new issue
Block a user