Skip to content

Commit 4b4fc6b

Browse files
committed
[MetaSearch]: include version in window title
1 parent e0acd90 commit 4b4fc6b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/plugins/MetaSearch/dialogs/maindialog.py

+3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ def __init__(self, iface):
7272
self.catalog_url = None
7373
self.context = StaticContext()
7474

75+
version = self.context.metadata.get('general', 'version')
76+
self.setWindowTitle('MetaSearch %s' % version)
77+
7578
self.rubber_band = QgsRubberBand(self.map, True) # True = a polygon
7679
self.rubber_band.setColor(QColor(255, 0, 0, 75))
7780
self.rubber_band.setWidth(5)

0 commit comments

Comments
 (0)