summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2015-11-04 20:25:17 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2015-11-04 20:25:17 +0100
commit2832c6c540f2b069fd3659be8ce40f335a86975a (patch)
tree7b21d1b7996db8dd76c5cfd7243bafeb518fbf81 /src
parent0e3295972171c61f4c8ea510df69a39f62494ce3 (diff)
actions: require confirmation before shuffling range
Diffstat (limited to 'src')
-rw-r--r--src/actions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/actions.cpp b/src/actions.cpp
index a089ca82..93deca30 100644
--- a/src/actions.cpp
+++ b/src/actions.cpp
@@ -1215,6 +1215,7 @@ bool Shuffle::canBeRun()
void Shuffle::run()
{
+ confirmAction("Do you really want to shuffle selected range?");
auto begin = myPlaylist->main().begin();
Mpd.ShuffleRange(m_begin-begin, m_end-begin);
Statusbar::print("Range shuffled");