Check again for library_path

This commit is contained in:
Milan Nikolic 2020-04-10 14:53:19 +02:00
parent d4181b955c
commit ccea55430b
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75

View file

@ -88,7 +88,9 @@ class Worker(QThread):
else:
self.library_path = self.settings.qset.value(
"Paths/Library", find_library(CORE_NAME))
self.core.core_load(str(self.library_path))
if not self.library_path:
self.library_path = find_library(CORE_NAME)
self.core.core_load(self.library_path)
def core_unload(self):
"""Unloads core library."""