Fix UI theming issues
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled

This commit is contained in:
WarmUpTill
2025-03-11 20:47:20 +01:00
committed by WarmUpTill
parent 808fd84b83
commit a51b7f6b13
8 changed files with 27 additions and 8 deletions

View File

@@ -92,7 +92,10 @@ RegexConfigWidget::RegexConfigWidget(QWidget *parent, bool showEnable)
_openSettings(new QToolButton()),
_enable(new QPushButton())
{
SetButtonIcon(_openSettings, ":/settings/images/settings/general.svg");
SetButtonIcon(_openSettings,
GetThemeTypeName() == "Light"
? ":/settings/images/settings/general.svg"
: "theme:Dark/settings/general.svg");
_openSettings->setToolTip(
obs_module_text("AdvSceneSwitcher.regex.configure"));