Skip to content

Commit

Permalink
fix: clear all setting values when opening a library (TagStudioDev#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
VasigaranAndAngel authored Dec 2, 2024
1 parent e4d8f99 commit 8ba23c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagstudio/src/qt/ts_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ def update_libs_list(self, path: Path | str):
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)
Expand Down

0 comments on commit 8ba23c5

Please sign in to comment.