- 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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user