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 18, 2022
1 parent 77abe76 commit eb27054
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 @@ -7235,6 +7235,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 eb27054

Please sign in to comment.