Skip to content

Commit

Permalink
Merge pull request #700 from opengisch/exporttid
Browse files Browse the repository at this point in the history
Set `--exportTid` in validator
  • Loading branch information
signedav authored Jun 5, 2022
2 parents 016121d + 65701dc commit 20cfc39
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions QgisModelBaker/gui/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ def set_current_layer(self, layer):
)
)

self.current_configuration.with_exporttid = self._get_tid_handling()

if self.schema_validations.get(self.current_schema_identificator):
# don't set result if never got a validation (empty ValidateDock.SchemaValidation)
if self.schema_validations[
Expand Down Expand Up @@ -284,6 +286,12 @@ def _basket_handling(self):
return db_connector.get_basket_handling()
return False

def _get_tid_handling(self):
db_connector = db_utils.get_db_connector(self.current_configuration)
if db_connector:
return db_connector.get_tid_handling()
return False

def _run(self, edited_command=None):
if self.iface.actionToggleEditing().isChecked():
self.iface.actionToggleEditing().trigger()
Expand Down
2 changes: 1 addition & 1 deletion scripts/package_pip_packages.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
LIBS_DIR="QgisModelBaker/libs"

MODELBAKER_LIBRARY=("modelbaker" "1.1.2")
MODELBAKER_LIBRARY=("modelbaker" "1.2.0")
PGSERVICEPARSER=("pgserviceparser" "1.0.1")
PACKAGING=("packaging" "21.3")

Expand Down

0 comments on commit 20cfc39

Please sign in to comment.