diff --git a/qt/OpenRGBDialog2/OpenRGBDialog2.cpp b/qt/OpenRGBDialog2/OpenRGBDialog2.cpp index 08af12171..246e0832f 100644 --- a/qt/OpenRGBDialog2/OpenRGBDialog2.cpp +++ b/qt/OpenRGBDialog2/OpenRGBDialog2.cpp @@ -1164,6 +1164,12 @@ void OpenRGBDialog2::ClearDevicesList() ui->InformationTabBar->removeTab(tab_idx); } } + + for(int tab_idx = 0; tab_idx < ui->FanTabBar->count(); tab_idx++) + { + delete ui->FanTabBar->widget(tab_idx); + } + ui->FanTabBar->clear(); } void OpenRGBDialog2::UpdateDevicesList()