UI: Update tooltip when paused
This commit is contained in:
parent
bc787c5e94
commit
e770a775c6
@ -7424,6 +7424,8 @@ void OBSBasic::PauseRecording()
|
|||||||
obs_output_t *output = outputHandler->fileOutput;
|
obs_output_t *output = outputHandler->fileOutput;
|
||||||
|
|
||||||
if (obs_output_pause(output, true)) {
|
if (obs_output_pause(output, true)) {
|
||||||
|
pause->setAccessibleName(QTStr("Basic.Main.UnpauseRecording"));
|
||||||
|
pause->setToolTip(QTStr("Basic.Main.UnpauseRecording"));
|
||||||
pause->setChecked(true);
|
pause->setChecked(true);
|
||||||
os_atomic_set_bool(&recording_paused, true);
|
os_atomic_set_bool(&recording_paused, true);
|
||||||
|
|
||||||
@ -7443,6 +7445,8 @@ void OBSBasic::UnpauseRecording()
|
|||||||
obs_output_t *output = outputHandler->fileOutput;
|
obs_output_t *output = outputHandler->fileOutput;
|
||||||
|
|
||||||
if (obs_output_pause(output, false)) {
|
if (obs_output_pause(output, false)) {
|
||||||
|
pause->setAccessibleName(QTStr("Basic.Main.PauseRecording"));
|
||||||
|
pause->setToolTip(QTStr("Basic.Main.PauseRecording"));
|
||||||
pause->setChecked(false);
|
pause->setChecked(false);
|
||||||
os_atomic_set_bool(&recording_paused, false);
|
os_atomic_set_bool(&recording_paused, false);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user