mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Fix stylesheet of StatusControl not being set to stopped state
This commit is contained in:
parent
3d61ea7d25
commit
9d4c8ab475
|
|
@ -73,7 +73,6 @@ StatusControl::StatusControl(QWidget *parent, bool noLayout)
|
|||
_statusPrefix->setWordWrap(true);
|
||||
_statusPrefix->setSizePolicy(QSizePolicy::Expanding,
|
||||
QSizePolicy::Expanding);
|
||||
SetStatusStyleSheet(false);
|
||||
QWidget::connect(_button, SIGNAL(clicked()), this,
|
||||
SLOT(ButtonClicked()));
|
||||
|
||||
|
|
@ -142,6 +141,7 @@ void StatusControl::SetStopped()
|
|||
_button->setText(
|
||||
obs_module_text("AdvSceneSwitcher.generalTab.status.start"));
|
||||
_status->setText(obs_module_text("AdvSceneSwitcher.status.inactive"));
|
||||
SetStatusStyleSheet(true);
|
||||
if (HighlightUIElementsEnabled()) {
|
||||
_pulse = HighlightWidget(_status, QColor(Qt::red),
|
||||
QColor(0, 0, 0, 0));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user