Skip to content

Commit

Permalink
wxGUI Layer Manager: fix add vector map layer Set color table interac…
Browse files Browse the repository at this point in the history
…tively menu item (#472)
  • Loading branch information
tmszi authored and petrasovaa committed Apr 1, 2020
1 parent b6ff59d commit e6456c1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gui/wxpython/lmgr/layertree.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,14 @@ def OnLayerContextMenu(self, event):
self.OnVectorColorTable,
id=self.popupID['color'])

self.popupMenu.Append(
self.popupID['colori'],
_("Set color table interactively"))
self.Bind(
wx.EVT_MENU,
self.lmgr.OnVectorRules,
id=self.popupID['colori'])

item = wx.MenuItem(
self.popupMenu,
id=self.popupID['attr'],
Expand Down

0 comments on commit e6456c1

Please sign in to comment.