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 2019-02-20 18:09:39 +02:00 • committed by GitHub
commit da87eff96f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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());