IDE: removed one (last ?) wx.NewId() that was called on each opening of project tree popup menu
--- a/IDEFrame.py Sun Feb 13 21:21:14 2022 +0100
+++ b/IDEFrame.py Tue Feb 15 11:09:39 2022 +0100
@@ -1989,7 +1989,7 @@
self.Bind(wx.EVT_MENU, self.GenerateChangePouTypeFunction(name, "functionBlock"), new_item)
new_item = AppendMenu(change_menu, help='', kind=wx.ITEM_NORMAL, text=_("Program"))
self.Bind(wx.EVT_MENU, self.GenerateChangePouTypeFunction(name, "program"), new_item)
- menu.AppendMenu(wx.NewId(), _("Duplicate as..."), change_menu)
+ menu.AppendMenu(wx.ID_ANY, _("Duplicate as..."), change_menu)
new_item = AppendMenu(menu, help='', kind=wx.ITEM_NORMAL, text=_("Rename"))
self.Bind(wx.EVT_MENU, self.OnRenamePouMenu, new_item)