diff --git a/QgisModelBaker/gui/topping_wizard/models_page.py b/QgisModelBaker/gui/topping_wizard/models_page.py index ec1383a19..e16363224 100644 --- a/QgisModelBaker/gui/topping_wizard/models_page.py +++ b/QgisModelBaker/gui/topping_wizard/models_page.py @@ -67,6 +67,9 @@ def validatePage(self) -> bool: self.tr("No models set."), gui_utils.LogColor.COLOR_SUCCESS, ) + self.topping_wizard.topping.preferred_datasource = ( + self.source_combobox.currentData() + ) return super().validatePage() def _refresh(self):