mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-01-31 23:29:10 +00:00
fix: clear all setting values when opening a library (#622)
This commit is contained in:
committed by
GitHub
parent
e4d8f995bb
commit
8ba23c5d54
@@ -1183,7 +1183,7 @@ class QtDriver(DriverMixin, QObject):
|
||||
all_libs_list = sorted(all_libs.items(), key=lambda item: item[0], reverse=True)
|
||||
|
||||
# remove previously saved items
|
||||
self.settings.clear()
|
||||
self.settings.remove("")
|
||||
|
||||
for item_key, item_value in all_libs_list[:item_limit]:
|
||||
self.settings.setValue(item_key, item_value)
|
||||
|
||||
Reference in New Issue
Block a user