Skip to content

Commit

Permalink
Fix #103
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Bach committed Nov 27, 2016
1 parent 2f7c01e commit fb7c2a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ def initGui(self):
# Geometry checker
found = False
for action in self.iface.vectorMenu().actions():
if action.text()==QCoreApplication.translate("QgsGeometryCheckerPlugin","G&eometry Tools") or action.text()==QCoreApplication.translate("QgsGeometryCheckerPlugin","Geometry Tools"):
if action.text().replace("&","")==QCoreApplication.translate("QgsGeometryCheckerPlugin","G&eometry Tools").replace("&",""):
for subaction in action.menu().actions():
if subaction.text()==QCoreApplication.translate("QgsGeometryCheckerPlugin","Check Geometries"):
if subaction.text().replace("&","")==QCoreApplication.translate("QgsGeometryCheckerPlugin","Check Geometries").replace("&",""):
found = True
self.topoclean_widget = TopoClean(subaction)
self.pag_actions.append(self.add_action(
Expand Down

0 comments on commit fb7c2a4

Please sign in to comment.