aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/playlistmodel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/playlistmodel.cpp b/src/ui/playlistmodel.cpp
index 333cd7993..ffde91ac8 100644
--- a/src/ui/playlistmodel.cpp
+++ b/src/ui/playlistmodel.cpp
@@ -465,7 +465,10 @@ void PlayListModel::addFileList(const QStringList &l)
if (f_info.isDir())
addDirectory(str);
else
+ {
addFile(str);
+ loadPlaylist(str);
+ }
}
// Do processing the rest of events to avoid GUI freezing
QApplication::processEvents(QEventLoop::AllEvents,10);