Skip to content

Commit

Permalink
UI: Fixes issue with replay buffer save button not re-enabling
Browse files Browse the repository at this point in the history
This fixes an issue with the save button not re-enabling after pressing
stop on a paused recording.
  • Loading branch information
anthonybaldwin committed Dec 20, 2022
1 parent c0a762b commit 2d8be24
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions UI/window-basic-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7239,6 +7239,13 @@ void OBSBasic::StopRecording()
if (outputHandler->RecordingActive())
outputHandler->StopRecording(recordingStopping);

os_atomic_set_bool(&recording_paused, false);

auto replay = replayBufferButton ? replayBufferButton->second()
: nullptr;
if (replay)
replay->setEnabled(true);

OnDeactivate();
}

Expand Down

0 comments on commit 2d8be24

Please sign in to comment.