Skip to content

Commit

Permalink
Merge pull request #805 from opengisch/shortdesc
Browse files Browse the repository at this point in the history
print short description when a metaconfig has been selected
  • Loading branch information
signedav authored May 5, 2023
2 parents 29bf135 + d1c8ed2 commit 26fcde3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,14 @@ def _on_metaconfig_completer_activated(self, text=None):
return
self.current_metaconfig_id = metaconfig_id
self.metaconfig_file_info_label.setText(
self.tr("Current Metaconfig File: {} ({})").format(
self.tr(
"<html><head/><body><p><b>Current Metaconfig File: {} ({})</b><br><i>{}</i></p></body></html>"
).format(
self.ilimetaconfigcache.model.data(model_index, Qt.DisplayRole),
metaconfig_id,
self.ilimetaconfigcache.model.data(
model_index, int(IliDataItemModel.Roles.SHORT_DESCRIPTION) or ""
),
)
)
self.metaconfig_file_info_label.setStyleSheet("color: #341d5c")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@
<property name="text">
<string/>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="1">
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.4.3")
MODELBAKER_LIBRARY=("modelbaker" "1.4.4")
PACKAGING=("packaging" "21.3")

PACKAGES=(
Expand Down

0 comments on commit 26fcde3

Please sign in to comment.