Merge pull request #1786 from wxWidgets/fix-issue1782

Ensure the watch list widget is updated after adding a new module
This commit is contained in:
Robin Dunn
2020-08-31 16:31:35 -07:00
committed by GitHub

View File

@@ -342,6 +342,7 @@ class EventWatcher(wx.Frame):
def updateBindings(self):
widget = self._watchedWidget
self.unwatch()
self.buildWatchList(_noWatchList)
if widget:
self.watch(widget)