diff --git a/resources/lib/helper/wrapper.py b/resources/lib/helper/wrapper.py index ff0acbff..76526892 100644 --- a/resources/lib/helper/wrapper.py +++ b/resources/lib/helper/wrapper.py @@ -35,8 +35,7 @@ def progress(message=None): if item: args = (item,) + args - kwargs['dialog'] = dialog - result = func(self, *args, **kwargs) + result = func(self, dialog=dialog, *args, **kwargs) dialog.close() return result diff --git a/resources/lib/library.py b/resources/lib/library.py index e7cf73de..a777bcd2 100644 --- a/resources/lib/library.py +++ b/resources/lib/library.py @@ -214,6 +214,7 @@ class Library(threading.Thread): raise Exception("Failed to retrieve latest updates") else: FullSync(self) + Views().get_nodes() self.started = True return True