Fix bug resetting playlist if you dragged file into playlist created by others

This commit is contained in:
Et0h 2015-10-12 13:51:43 +01:00
parent 4c4c3eb59d
commit d65f7eeb12

View File

@ -1301,6 +1301,8 @@ class MainWindow(QtGui.QMainWindow):
if newPlaylist == self.playlistState:
return
self.updatingPlaylist = True
if len(newPlaylist) > 0:
self.clearedPlaylistNote = True
self.playlistState = newPlaylist
self.playlist.updatePlaylist(newPlaylist)
self.updatingPlaylist = False