Added errormsg in conn. with issue 3066.

svn: r12695
This commit is contained in:
Peter Landgren 2009-06-22 09:51:18 +00:00
parent b9e1ba0195
commit 385c3c3d9b

View File

@ -219,6 +219,13 @@ class PlaceView(PageView.ListView):
"""
Run the map service
"""
#First test if any map service is available
if not len(self.mapservicedata):
msg = _("No map service is available.")
msg2 = _("Check your installation.")
ErrorDialog(msg, msg2)
return
place_handles = self.selected_handles()
try:
place_handle = self.selected_handles()[0]