diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-04-25 11:25:35 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-04-25 13:23:39 -0300 |
commit | b74620fd45d56a7a9a193572010068efa6be681f (patch) | |
tree | fe5bffbebf164e7fc1686021ef6a108da402c9b1 /src/leap/bitmask/gui | |
parent | 70cc6563573f5a6d33782c02fd63525278811a6a (diff) |
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.
Diffstat (limited to 'src/leap/bitmask/gui')
-rw-r--r-- | src/leap/bitmask/gui/statemachines.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |