diff --git a/src/subs_controller.cpp b/src/subs_controller.cpp index 212d2dbadc..3b0eb4b1dd 100644 --- a/src/subs_controller.cpp +++ b/src/subs_controller.cpp @@ -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 {