Skip to content

Commit b8680c0

Browse files
committed
Prevent feedrate increase popup from opening multiple times
The popup to show that the max feed rate has been increased would open ever time Ground Control was opened until another setting was changed...this PR foreces a write to disk so that it will only show once
1 parent 1f971e8 commit b8680c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def build(self):
107107
if self.config.get('Advanced Settings', 'maxFeedrate') == '700':
108108
self.data.message_queue.put("Message: This update will increase the maximum feedrate of your machine. You can adjust this value under the Advanced settings.")
109109
self.config.set('Advanced Settings', 'maxFeedrate', '800')
110+
self.config.write()
110111

111112
self.data.comport = self.config.get('Maslow Settings', 'COMport')
112113
self.data.gcodeFile = self.config.get('Maslow Settings', 'openFile')

0 commit comments

Comments
 (0)