Ensure the watch list widget is updated after adding a new module

This commit is contained in:
Robin Dunn
2020-08-31 13:38:15 -07:00
parent beb55bc88a
commit 86734c2697

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)