From fc82a2b82361decbaabb9387a886f2f50cbddd19 Mon Sep 17 00:00:00 2001 From: panni Date: Sat, 6 Jun 2020 04:06:47 +0200 Subject: [PATCH] mli.dataSource might be None after playing an unmatched item resulting in a hard UI crash --- lib/windows/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/windows/library.py b/lib/windows/library.py index 357e1d7f9..f38693517 100644 --- a/lib/windows/library.py +++ b/lib/windows/library.py @@ -1190,7 +1190,7 @@ def showPanelClicked(self): if not mli: return - if not mli.dataSource.exists(): + if mli.dataSource and not mli.dataSource.exists(): self.showPanelControl.removeItem(mli.pos()) return