refactor(migrations): better library decoupling (#1482)

* refactor: minor improvement of version check

* refactor: don't use Library._all_entries in migrations

* chore: ruff format

* refactor: get_version split

* fix: typo

* doc: update note on deprecation of preferences table
This commit is contained in:
Jann Stute
2026-08-16 23:25:41 +02:00
committed by GitHub
parent 17cf87a4fa
commit 7e7def5a52
3 changed files with 60 additions and 66 deletions
+2 -1
View File
@@ -176,7 +176,8 @@ Observe the following key aspects of the example below:
def _connect_callbacks(self):
self.layout().button.clicked.connect(self._button_click_callback)
self.layout().color_dropdown.currentIndexChanged.connect(
lambda idx: self._color_dropdown_callback(self.color_dropdown.itemData(idx)))
lambda idx: self._color_dropdown_callback(self.color_dropdown.itemData(idx))
)
def _button_click_callback(self):
print("Button was clicked!")