- activated the 'View Source' option in the project menu context menu for the Geometry objects
- in Image Import plugin now the created objects have the 'source_file' attribute with content - working in the Excellon Editor - wip
This commit is contained in:
@@ -8298,7 +8298,8 @@ class App(QtCore.QObject):
|
||||
|
||||
self.source_editor_tab.t_frame.hide()
|
||||
try:
|
||||
self.source_editor_tab.load_text(file.getvalue(), clear_text=True, move_to_start=True)
|
||||
source_text = file.getvalue()
|
||||
self.source_editor_tab.load_text(source_text, clear_text=True, move_to_start=True)
|
||||
except Exception as e:
|
||||
self.log.error('App.on_view_source() -->%s' % str(e))
|
||||
self.inform.emit('[ERROR] %s: %s' % (_('Failed to load the source code for the selected object'), str(e)))
|
||||
|
||||
Reference in New Issue
Block a user