UI: Reset replay buffer button on "stop" signal

Fixes an issue when Start Replay Button stays at checked state if stop
signal generated (hotkey event for example) instead of mouse click.

Mantis: https://obsproject.com/mantis/view.php?id=1343
This commit is contained in:
SuslikV authored and GitHub committed 2019-02-20 18:09:39 +02:00
1 parent 4722b764ca
commit da87eff96f
1 file changed
+1
+1
View File
@@ -5399,6 +5399,7 @@ void OBSBasic::ReplayBufferStop(int code)
return;
replayBufferButton->setText(QTStr("Basic.Main.StartReplayBuffer"));
replayBufferButton->setChecked(false);
if (sysTrayReplayBuffer)
sysTrayReplayBuffer->setText(replayBufferButton->text());