Browse Source

wxGUI/mapwin: fix showing overlays module properties dialog from the map display context menu (#1079)

Tomas Zigo 4 years ago
parent
commit
9674be0fed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/mapwin/buffered.py

+ 1 - 1
gui/wxpython/mapwin/buffered.py

@@ -296,7 +296,7 @@ class BufferedMapWindow(MapWindowBase, Window):
             self.Bind(wx.EVT_MENU,
                       lambda evt: self.overlayActivated.emit(overlayId=idlist[0]),
                       id=activateId)
-            menu.Append(removeId, self.overlays[idlist[0]].activateLabel)
+            menu.Append(activateId, self.overlays[idlist[0]].activateLabel)
         self.PopupMenu(menu)
         menu.Destroy()