parent
ca81f144e6
commit
553d4cce93
@ -225,8 +225,8 @@ void PlaylistContainer::SetViewModel(Playlist *playlist, const int scroll_positi
|
|||||||
// Sort out the undo/redo actions
|
// Sort out the undo/redo actions
|
||||||
delete undo_;
|
delete undo_;
|
||||||
delete redo_;
|
delete redo_;
|
||||||
undo_ = playlist->undo_stack()->createUndoAction(this);
|
undo_ = playlist->undo_stack()->createUndoAction(this, tr("Undo"));
|
||||||
redo_ = playlist->undo_stack()->createRedoAction(this);
|
redo_ = playlist->undo_stack()->createRedoAction(this, tr("Redo"));
|
||||||
undo_->setIcon(IconLoader::Load("edit-undo"));
|
undo_->setIcon(IconLoader::Load("edit-undo"));
|
||||||
undo_->setShortcut(QKeySequence::Undo);
|
undo_->setShortcut(QKeySequence::Undo);
|
||||||
redo_->setIcon(IconLoader::Load("edit-redo"));
|
redo_->setIcon(IconLoader::Load("edit-redo"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user