Don't display when no url
svn: r11841
This commit is contained in:
parent
2176bbfbf9
commit
7d9d27b22d
@ -19,7 +19,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Google Maps map service. Open place in maps.google.com
|
Base class for map services. Example: open place in openstreetmap.org
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
@ -93,6 +93,7 @@ class MapService():
|
|||||||
|
|
||||||
def __display(self):
|
def __display(self):
|
||||||
"""Show the url in an external browser"""
|
"""Show the url in an external browser"""
|
||||||
|
if self.url:
|
||||||
GrampsDisplay.url(self.url)
|
GrampsDisplay.url(self.url)
|
||||||
|
|
||||||
def _free(self):
|
def _free(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user