mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Fix more Mypy warnings
CURA-6983
This commit is contained in:
parent
53115dc3b2
commit
88e5626b59
3 changed files with 14 additions and 4 deletions
|
@ -24,6 +24,7 @@ class DiscrepanciesPresenter(QObject):
|
|||
def present(self, plugin_path: str, model: SubscribedPackagesModel):
|
||||
path = os.path.join(plugin_path, self._compatibility_dialog_path)
|
||||
self._dialog = self._app.createQmlComponent(path, {"subscribedPackagesModel": model})
|
||||
assert self._dialog
|
||||
self._dialog.accepted.connect(lambda: self._onConfirmClicked(model))
|
||||
|
||||
def _onConfirmClicked(self, model: SubscribedPackagesModel):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue