Speed up marking track as next
This commit is contained in:
parent
52776fcf8d
commit
2b4e003caf
@ -1147,8 +1147,12 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
# Update headers
|
||||
self.update_headers()
|
||||
|
||||
# Populate 'info' tabs with Wikipedia info
|
||||
self.tabInfolist.open_in_wikipedia(track.title)
|
||||
# Populate 'info' tabs with Wikipedia info, but queue it because
|
||||
# it isn't quick
|
||||
track_title = track.title
|
||||
QTimer.singleShot(
|
||||
1, lambda: self.tabInfolist.open_in_wikipedia(track_title)
|
||||
)
|
||||
|
||||
def tick(self) -> None:
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user