Skip to content

Commit

Permalink
Merge pull request #245 from Samweli/fix_assets_dialog_title
Browse files Browse the repository at this point in the history
Fix item assets dialog title
  • Loading branch information
Samweli authored Apr 18, 2024
2 parents fc5289f + 518d332 commit d2af45e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qgis_stac/gui/assets_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def prepare_assets(self):
if len(self.assets) > 0:
self.title.setText(
tr("Item {}").
format(self.item.id, len(self.assets))
format(self.item.id)
)
self.asset_count.setText(
tr("{} available asset(s)").
Expand All @@ -115,7 +115,7 @@ def prepare_assets(self):
else:
self.title.setText(
tr("Item {} has no assets").
format(len(self.item.id))
format(self.item.id)
)

scroll_container = QtWidgets.QWidget()
Expand Down

0 comments on commit d2af45e

Please sign in to comment.