From 3a87a8d155e9797a1b4cdf151b3cd1a579192e61 Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Thu, 5 Sep 2024 19:38:50 +0200 Subject: [PATCH] Hide priority settings when legacy tabs are hidden --- lib/general.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/general.cpp b/lib/general.cpp index f61bf3c9..992da7ea 100644 --- a/lib/general.cpp +++ b/lib/general.cpp @@ -247,6 +247,10 @@ void AdvSceneSwitcher::on_hideLegacyTabs_stateChanged(int state) ui->tabWidget->setTabVisible(idx, !state); } } + + // Changing priority of legacy tabs will very likely not be necessary if + // the legacy tabs are hidden + ui->priorityBox->setVisible(!switcher->hideLegacyTabs); } void AdvSceneSwitcher::SetDeprecationWarnings()