From a42e6966953a31ab2ae874a7cdf5195a64aba32a Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Fri, 14 Dec 2012 06:45:51 +0200 Subject: [PATCH] hide the confix box when the device goes inactive --- app/ui/main_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/ui/main_window.py b/app/ui/main_window.py index e51485b0..2a2ef6c7 100644 --- a/app/ui/main_window.py +++ b/app/ui/main_window.py @@ -411,6 +411,8 @@ def _update_device_box(frame, dev): light_label.set_visible(False) not_encrypted_icon.set_visible(False) + frame._toolbar.get_children()[-1].set_active(False) + frame.set_visible(True) _config_panel.update(frame)