Skip to content

Commit

Permalink
this lambda leads to a slight delay what brings up a python error on …
Browse files Browse the repository at this point in the history
…close, because the Dialog is not existing anymore. Anyway, we don't need it like this. We can pass the rows-parameter from the signal to the function and use it as boolean.
  • Loading branch information
signedav committed Mar 8, 2024
1 parent 2f0fa4b commit 1f2c335
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions QgisModelBaker/gui/workflow_wizard/project_creation_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,7 @@ def _use_existing(self, state):
)
# wait before activating until end of refreshment
self.workflow_wizard.busy(self, True, self.tr("Refresh repository data..."))
self.ilitoppingcache.model_refreshed.connect(
lambda: self._enable_topping_selection(True)
)
self.ilitoppingcache.model_refreshed.connect(self._enable_topping_selection)
self.ilitoppingcache.refresh()

completer = QCompleter(
Expand Down

0 comments on commit 1f2c335

Please sign in to comment.