mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-12 12:18:35 -05:00
Fix potential crash in StatusControl
This commit is contained in:
@@ -131,7 +131,9 @@ void StatusControl::SetStarted()
|
||||
_button->setText(
|
||||
obs_module_text("AdvSceneSwitcher.generalTab.status.stop"));
|
||||
_status->setText(obs_module_text("AdvSceneSwitcher.status.active"));
|
||||
_pulse->deleteLater();
|
||||
if (_pulse) {
|
||||
_pulse->deleteLater();
|
||||
}
|
||||
SetStatusStyleSheet(false);
|
||||
_setToStopped = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user