Merge pull request #101 from TechCrafterGaming/FIX-002
This commit is contained in:
commit
6f900ff371
2 changed files with 3 additions and 3 deletions
|
|
@ -398,7 +398,7 @@ class QtDriver(QObject):
|
|||
|
||||
|
||||
def callback_library_needed_check(self,func):
|
||||
#Check if loaded library has valid path before executing the button function
|
||||
"""Check if loaded library has valid path before executing the button function"""
|
||||
if self.lib.library_dir:
|
||||
func()
|
||||
|
||||
|
|
@ -407,7 +407,7 @@ class QtDriver(QObject):
|
|||
self.shutdown()
|
||||
|
||||
def shutdown(self):
|
||||
# Save Library on Application Exit
|
||||
"""Save Library on Application Exit"""
|
||||
if self.lib.library_dir:
|
||||
self.save_library()
|
||||
self.settings.setValue("last_library", self.lib.library_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue