Skip to content

Commit

Permalink
[MetaSearch]: include version in window title
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Feb 27, 2015
1 parent e0acd90 commit 4b4fc6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/MetaSearch/dialogs/maindialog.py
Expand Up @@ -72,6 +72,9 @@ def __init__(self, iface):
self.catalog_url = None
self.context = StaticContext()

version = self.context.metadata.get('general', 'version')
self.setWindowTitle('MetaSearch %s' % version)

self.rubber_band = QgsRubberBand(self.map, True) # True = a polygon
self.rubber_band.setColor(QColor(255, 0, 0, 75))
self.rubber_band.setWidth(5)
Expand Down

0 comments on commit 4b4fc6b

Please sign in to comment.