mirror of
https://github.com/Syncplay/syncplay
synced 2024-12-16 03:44:56 +00:00
Retain playlist UI filename on playlist change unless new filename specified
This commit is contained in:
parent
b276bc3688
commit
0f9e179282
@ -1417,7 +1417,8 @@ class MainWindow(QtGui.QMainWindow):
|
||||
if self.updatingPlaylist:
|
||||
self.ui.showDebugMessage("Trying to set playlist while it is already being updated")
|
||||
if newPlaylist == self.playlistState:
|
||||
self.playlist.setPlaylistIndexFilename(newIndexFilename)
|
||||
if newIndexFilename:
|
||||
self.playlist.setPlaylistIndexFilename(newIndexFilename)
|
||||
self.updatingPlaylist = False
|
||||
return
|
||||
self.updatingPlaylist = True
|
||||
|
Loading…
Reference in New Issue
Block a user