mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
UI: Fix wrong icon if recording stopped while paused
Fixes pause icon getting stuck if you stream or use replay buffer while recording, pause, then stop recording while paused. The icon would get stuck on the pause icon until all outputs were stopped.
This commit is contained in:
1 parent
f5e026b38b
commit
cafc9995d8
1 file changed
+4
@@ -5098,6 +5098,10 @@ inline void OBSBasic::OnDeactivate()
|
||||
if (trayIcon)
|
||||
trayIcon->setIcon(QIcon::fromTheme(
|
||||
"obs-tray", QIcon(":/res/images/obs.png")));
|
||||
} else {
|
||||
if (trayIcon)
|
||||
trayIcon->setIcon(
|
||||
QIcon(":/res/images/tray_active.png"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user