Ver Fonte

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 há 6 anos atrás
pai
commit
4722b764ca
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      UI/window-basic-main.cpp

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

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