parent
01b531aabf
commit
ab858a62fd
@ -420,6 +420,9 @@ class Window(QMainWindow, Ui_MainWindow):
|
|||||||
# the playlistis opened.
|
# the playlistis opened.
|
||||||
destination_visible_playlist_tab = None
|
destination_visible_playlist_tab = None
|
||||||
for tab in range(self.tabPlaylist.count()):
|
for tab in range(self.tabPlaylist.count()):
|
||||||
|
# Non-playlist tabs won't have ids
|
||||||
|
if not hasattr(self.tabPlaylist.widget(tab), 'id'):
|
||||||
|
continue
|
||||||
if self.tabPlaylist.widget(tab).id == dlg.plid:
|
if self.tabPlaylist.widget(tab).id == dlg.plid:
|
||||||
destination_visible_playlist_tab = (
|
destination_visible_playlist_tab = (
|
||||||
self.tabPlaylist.widget(tab))
|
self.tabPlaylist.widget(tab))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user