From 86734c26971bcd54c0363bacc338492594309d47 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 31 Aug 2020 13:38:15 -0700 Subject: [PATCH] Ensure the watch list widget is updated after adding a new module --- wx/lib/eventwatcher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wx/lib/eventwatcher.py b/wx/lib/eventwatcher.py index 27158ff2..ef4fc5b1 100644 --- a/wx/lib/eventwatcher.py +++ b/wx/lib/eventwatcher.py @@ -342,6 +342,7 @@ class EventWatcher(wx.Frame): def updateBindings(self): widget = self._watchedWidget self.unwatch() + self.buildWatchList(_noWatchList) if widget: self.watch(widget)