# HG changeset patch # User Goffi # Date 1548530688 -3600 # Node ID 5d69e4cab925a0cb1c22b1350ee2379f3f055a8f # Parent b6e33b35538bcd7c56c609fad202f6281480ba6d core: when switching to a new widget, it becomes the selected one. diff -r b6e33b35538b -r 5d69e4cab925 cagou/core/cagou_main.py --- a/cagou/core/cagou_main.py Sat Jan 26 20:24:48 2019 +0100 +++ b/cagou/core/cagou_main.py Sat Jan 26 20:24:48 2019 +0100 @@ -686,6 +686,7 @@ raise exceptions.InternalError(u"no wrapper found") wrapper.changeWidget(new) + self.selected_widget = new def _addVisibleWidget(self, widget): """declare a widget visible