- in AppTextEditor made some changes (added some placeholders and a message popup when reaching the end of document)

- when viewing GCode the Find field can now keep the focus
This commit is contained in:
Marius Stanciu
2021-11-22 03:26:09 +02:00
committed by Marius
parent c98066834a
commit 8f0b591d74
4 changed files with 53 additions and 4 deletions

View File

@@ -793,6 +793,9 @@ class CNCJobObject(FlatCAMObj, CNCjob):
self.gcode_editor_tab.entryReplace.hide()
self.gcode_editor_tab.code_editor.setReadOnly(True)
# make sure that the Find entry keeps the focus on the line
self.gcode_editor_tab.entryFind.keep_focus = False
self.app.inform.emit('[success] %s...' % _('Loaded Machine Code into Code Editor'))
def on_update_source_file(self):