From 35aa66455c172e89a5ce7374c2c5ed26cb4619f8 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sun, 9 Jul 2023 00:58:05 -0500 Subject: [PATCH] Only show one warning at a time on powerup --- ResourceManager.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ResourceManager.cpp b/ResourceManager.cpp index 61240f5e..6cc6c568 100644 --- a/ResourceManager.cpp +++ b/ResourceManager.cpp @@ -1431,6 +1431,9 @@ void ResourceManager::DetectDevicesThreadFunction() "

See https://openrgb.org/udev to install the udev rules manually

"; LOG_DIALOG("%s", message); + + udev_multiple = false; + i2c_interface_fail = false; } /*-------------------------------------------------*\ @@ -1445,6 +1448,8 @@ void ResourceManager::DetectDevicesThreadFunction() "

Multiple udev rules files can conflict, it is recommended to remove one of them.

"; LOG_DIALOG("%s", message); + + i2c_interface_fail = false; } #endif