Skip to content

Commit

Permalink
Merge branch 'workarounds' into feature
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1t3cht committed May 30, 2024
2 parents 41930c3 + 0c53a99 commit 961f719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/subs_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,11 @@ void SubsController::Redo() {
}

wxString SubsController::GetUndoDescription() const {
return IsUndoStackEmpty() ? "" : undo_stack.back().undo_description;
return IsUndoStackEmpty() ? wxString() : undo_stack.back().undo_description;
}

wxString SubsController::GetRedoDescription() const {
return IsRedoStackEmpty() ? "" : redo_stack.back().undo_description;
return IsRedoStackEmpty() ? wxString() : redo_stack.back().undo_description;
}

agi::fs::path SubsController::Filename() const {
Expand Down

0 comments on commit 961f719

Please sign in to comment.