mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-01-31 07:10:45 +00:00
small changes to ts_qt.py (doc strings)
This commit is contained in:
@@ -397,7 +397,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()
|
||||
|
||||
@@ -406,7 +406,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)
|
||||
|
||||
Reference in New Issue
Block a user