summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/statemachines.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-05-29 16:44:25 -0300
committerTomás Touceda <chiiph@leap.se>2014-05-30 10:58:17 -0300
commitd4d6b0c5476b45629d632debe4527f9d6cb3cb0e (patch)
tree57c0dc366cb3e426bf6d13166a4f7b68a7c8d042 /src/leap/bitmask/gui/statemachines.py
parent3477cc811fab50268ab6b9427e632253c3e7e1d1 (diff)
Check openvpn bin path before starting openvpn
Diffstat (limited to 'src/leap/bitmask/gui/statemachines.py')
-rw-r--r--src/leap/bitmask/gui/statemachines.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/statemachines.py b/src/leap/bitmask/gui/statemachines.py
index f8e5479d..00a1387e 100644
--- a/src/leap/bitmask/gui/statemachines.py
+++ b/src/leap/bitmask/gui/statemachines.py
@@ -565,11 +565,15 @@ class ConnectionMachineBuilder(object):
button, 'text', off_label)
off.assignProperty(
button, 'enabled', True)
+ off.assignProperty(
+ button, 'visible', True)
if action:
off.assignProperty(
action, 'text', off_label)
off.assignProperty(
action, 'enabled', True)
+ off.assignProperty(
+ action, 'visible', True)
off.setObjectName(_OFF)
states[_OFF] = off