Added errormsg in conn. with issue 3066.
svn: r12695
This commit is contained in:
parent
b9e1ba0195
commit
385c3c3d9b
@ -219,6 +219,13 @@ class PlaceView(PageView.ListView):
|
|||||||
"""
|
"""
|
||||||
Run the map service
|
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()
|
place_handles = self.selected_handles()
|
||||||
try:
|
try:
|
||||||
place_handle = self.selected_handles()[0]
|
place_handle = self.selected_handles()[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user