From bc0672263355efbf606f510b6b0e9a1f280a51b1 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Tue, 28 Feb 2023 21:27:20 +0000 Subject: [PATCH] Launch Wikipedia on select vis singleShot timer --- app/playlists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/playlists.py b/app/playlists.py index 031345e..9c45412 100644 --- a/app/playlists.py +++ b/app/playlists.py @@ -1883,7 +1883,7 @@ class PlaylistTab(QTableWidget): # If only one row is selected and it's a track row, show # Wikipedia page for that track if len(selected_rows) == 1: - self._wikipedia(selected_rows[0]) + QTimer.singleShot(0, lambda: self._wikipedia(selected_rows[0])) ms = 0 for row in selected_rows: