mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-08-20 02:52:27 +02:00
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:
+2
-1
@@ -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!")
|
||||
|
||||
Reference in New Issue
Block a user