Skip to content

Commit

Permalink
Don't execute queries outside the thread
Browse files Browse the repository at this point in the history
  • Loading branch information
domi4484 committed Dec 5, 2023
1 parent 1c0100d commit 701d905
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions QgisModelBaker/gui/panel/pg_config_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,12 +485,8 @@ def _fill_schema_combo_box(self):
return

configuration = Ili2DbCommandConfiguration()

mode = DbIliMode.pg
self.get_fields(configuration)

configuration.tool = mode
configuration.db_ili_version = db_utils.db_ili_version(configuration)
configuration.tool = DbIliMode.pg

self._read_pg_schemas_task.configuration_changed(configuration)

Expand Down

0 comments on commit 701d905

Please sign in to comment.