From b74620fd45d56a7a9a193572010068efa6be681f Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Fri, 25 Apr 2014 11:25:35 -0300 Subject: Enable eip action after disconnecting. If you don't give root access to EIP, e.g. cancel guisudo dialog, the eip does not start, the button is enabled but not the action. This change fixes that issue. --- src/leap/bitmask/gui/statemachines.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/leap/bitmask/gui/statemachines.py b/src/leap/bitmask/gui/statemachines.py index 93731ce0..31938a70 100644 --- a/src/leap/bitmask/gui/statemachines.py +++ b/src/leap/bitmask/gui/statemachines.py @@ -562,6 +562,8 @@ class ConnectionMachineBuilder(object): if action: off.assignProperty( action, 'text', off_label) + off.assignProperty( + action, 'enabled', True) off.setObjectName(_OFF) states[_OFF] = off -- cgit v1.2.3