UI: Set replay buffer check w/ --startreplaybuffer

When starting the program with the --startreplaybuffer command line
parameter, it would not correctly highlight the button.
This commit is contained in:
jp9000 2019-02-19 19:27:54 -08:00
parent 103bec6526
commit 4722b764ca

View File

@ -5365,6 +5365,7 @@ void OBSBasic::ReplayBufferStart()
return;
replayBufferButton->setText(QTStr("Basic.Main.StopReplayBuffer"));
replayBufferButton->setChecked(true);
if (sysTrayReplayBuffer)
sysTrayReplayBuffer->setText(replayBufferButton->text());