Use better error message when trying to add folder to playlist

This commit is contained in:
Et0h 2016-06-02 20:21:39 +01:00
parent 1970c6029c
commit 8a4975b041

View File

@ -1412,7 +1412,7 @@ class MainWindow(QtGui.QMainWindow):
self.clearedPlaylistNote = True
def addFolderToPlaylist(self, folderPath):
self.showErrorMessage("Add Folder {}".format(folderPath)) # TODO: Implement "add folder to playlist"
self.showErrorMessage(u"You tried to add the folder '{}' to the playlist. Syncplay only currently supports adding files to the playlist.".format(folderPath)) # TODO: Implement "add folder to playlist"
def deleteSelectedPlaylistItems(self):
self.playlist.remove_selected_items()