Skip to content

Commit f268f45

Browse files
committed
load all of the gui before loading post gui hal
Signed-off-by: John Thornton <[email protected]>
1 parent c744720 commit f268f45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flexgui/src/flexgui

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,13 @@ class flexgui(QMainWindow):
138138
startup.setup_jog(self)
139139
startup.setup_mdi(self)
140140
# loading the post gui files can only happen once
141-
if gui.lower() == 'flexgui':
142-
startup.load_postgui(self)
141+
startup.setup_hal_buttons(self)
143142
startup.setup_tool_change(self)
144143
startup.setup_sliders(self)
145144
startup.setup_defaults(self)
146145
startup.setup_plot(self)
147-
startup.setup_hal_buttons(self)
146+
if gui.lower() == 'flexgui':
147+
startup.load_postgui(self)
148148

149149
# setup and start the status update timer every 0.01 second
150150
self.timer = QTimer()

0 commit comments

Comments
 (0)