From 553d4cce939650b5766b737b88b3e65d73419d6d Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 9 Aug 2022 17:04:59 +0200 Subject: [PATCH] PlaylistContainer: Translate Undo/Redo Fixes #1017 --- src/playlist/playlistcontainer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/playlist/playlistcontainer.cpp b/src/playlist/playlistcontainer.cpp index f8d3436a2..79f998b65 100644 --- a/src/playlist/playlistcontainer.cpp +++ b/src/playlist/playlistcontainer.cpp @@ -225,8 +225,8 @@ void PlaylistContainer::SetViewModel(Playlist *playlist, const int scroll_positi // Sort out the undo/redo actions delete undo_; delete redo_; - undo_ = playlist->undo_stack()->createUndoAction(this); - redo_ = playlist->undo_stack()->createRedoAction(this); + undo_ = playlist->undo_stack()->createUndoAction(this, tr("Undo")); + redo_ = playlist->undo_stack()->createRedoAction(this, tr("Redo")); undo_->setIcon(IconLoader::Load("edit-undo")); undo_->setShortcut(QKeySequence::Undo); redo_->setIcon(IconLoader::Load("edit-redo"));