diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-03-26 23:13:29 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-03-26 23:13:33 +0100 |
commit | fc1ad7466c03192073197edb3dd5eddbc3fcbf20 (patch) | |
tree | ef0d9b10598f9fcaa48067383750dc8268179317 | |
parent | e93654fab836d63ef055e7ffd392481880256ac5 (diff) | |
download | d-feet-fc1ad7466c03192073197edb3dd5eddbc3fcbf20.tar.gz |
DFeetWindow: switch to the added bus watch
This will avoid having to switch manually after entering the address.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
-rw-r--r-- | src/dfeet/window.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dfeet/window.py b/src/dfeet/window.py index 2a91a23..01b6032 100644 --- a/src/dfeet/window.py +++ b/src/dfeet/window.py @@ -152,6 +152,7 @@ class DFeetWindow(Gtk.ApplicationWindow): try: bw = BusWatch(self.data_dir, address) self.stack.add_titled(bw.box_bus, address, address) + self.stack.set_visible_child_name(address) # Fill history if address in self.bus_history: self.bus_history.remove(address) |