diff --git a/qt/OpenRGBDialog2.cpp b/qt/OpenRGBDialog2.cpp index da8e76f1..50f6e574 100644 --- a/qt/OpenRGBDialog2.cpp +++ b/qt/OpenRGBDialog2.cpp @@ -1963,6 +1963,7 @@ void Ui::OpenRGBDialog2::TogglePluginsVisibility(int tab_idx, QTabWidget* tabBar if((i != tab_idx) && (dynamic_cast(tab) != nullptr)) { ((OpenRGBPluginContainer*) tab)->Hide(); + ui->MainButtonsFrame->setVisible(true); } } @@ -1978,6 +1979,7 @@ void Ui::OpenRGBDialog2::TogglePluginsVisibility(int tab_idx, QTabWidget* tabBar if(dynamic_cast(tab) != nullptr) { ((OpenRGBPluginContainer*) tab)->Show(); + ui->MainButtonsFrame->setVisible(false); } } diff --git a/qt/OpenRGBDialog2.ui b/qt/OpenRGBDialog2.ui index d5bf4760..e7864802 100644 --- a/qt/OpenRGBDialog2.ui +++ b/qt/OpenRGBDialog2.ui @@ -82,52 +82,76 @@ - - - Toggle LED View + + + QFrame::NoFrame + + QFrame::Raised + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Toggle LED View + + + + + + + Rescan Devices + + + + + + + + 0 + 0 + + + + Save Profile + + + QToolButton::MenuButtonPopup + + + + + + + Delete Profile + + + + + + + Load Profile + + + + + + + - - - - Rescan Devices - - - - - - - - 0 - 0 - - - - Save Profile - - - QToolButton::MenuButtonPopup - - - - - - - Delete Profile - - - - - - - Load Profile - - - - - -