Skip to content

Commit

Permalink
show the exact item id in the title when there are no assets in the item
Browse files Browse the repository at this point in the history
  • Loading branch information
Samweli committed Sep 29, 2023
1 parent 2ef210d commit 518d332
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 518d332

Please sign in to comment.