Skip to content

Commit 2e9db8c

Browse files
committed
qtdragon/lathe -enable/disable the system toolbutton when running/idle
1 parent 99573ca commit 2e9db8c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

share/qtvcp/screens/qtdragon/qtdragon_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def __init__(self, halcomp, widgets, paths):
109109
self.button_response_list = ["btn_start", "btn_home_all", "btn_home_0", "btn_home_1",
110110
"btn_home_2", "btn_home_3","btn_home_4", "btn_reload_file", "macrobutton0", "macrobutton1",
111111
"macrobutton2", "macrobutton3", "macrobutton4", "macrobutton5", "macrobutton6",
112-
"macrobutton7", "macrobutton8", "macrobutton9"]
112+
"macrobutton7", "macrobutton8", "macrobutton9", 'systemtoolbutton']
113113
self.statusbar_reset_time = 10000 # ten seconds
114114

115115
STATUS.connect('general', self.dialog_return)

share/qtvcp/screens/qtdragon_lathe/qtdragon_lathe_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def __init__(self, halcomp, widgets, paths):
120120
self.button_response_list = ["btn_start", "btn_home_all", "btn_home_0", "btn_home_1",
121121
"btn_home_2", "btn_home_3","btn_home_4", "btn_reload_file", "macrobutton0", "macrobutton1",
122122
"macrobutton2", "macrobutton3", "macrobutton4", "macrobutton5", "macrobutton6",
123-
"macrobutton7", "macrobutton8", "macrobutton9"]
123+
"macrobutton7", "macrobutton8", "macrobutton9", 'systemtoolbutton']
124124
self.statusbar_reset_time = 10000 # ten seconds
125125

126126
STATUS.connect('general', self.dialog_return)

0 commit comments

Comments
 (0)