actions: require confirmation before shuffling range
This commit is contained in:
1 parent
0e32959721
commit
2832c6c540
1 file changed
+1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user