Explorar o código

UI: Set replay buffer check w/ --startreplaybuffer

When starting the program with the --startreplaybuffer command line
parameter, it would not correctly highlight the button.
jp9000 %!s(int64=7) %!d(string=hai) anos
pai
achega
4722b764ca
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      UI/window-basic-main.cpp

+ 1 - 0
UI/window-basic-main.cpp

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