- in Isolation Plugin made sure that the last displayed message is the warning, in the case of using tool validation and the tool is not validated

- some more work in the Excellon Editor - Drill adding
- some fixes in the image loader when clicking the an image that is in the list of previous loaded files
- a small fin in the SVG parser
- added a new Tcl command that is returning the name of the active object ('get_active') to accompany the 'set_active' command
- a small fix for the 2d graphic mode by replacing the q5agg matplotlib backend with the qtagg backend which should work with the Qt6
This commit is contained in:
Marius Stanciu
2022-04-28 13:39:48 +03:00
committed by Marius
parent 779a8ccc9f
commit 545e594ed0
19 changed files with 283 additions and 173 deletions

View File

@@ -4063,16 +4063,12 @@ class MainGUI(QtWidgets.QMainWindow):
and self.app.exc_editor.active_tool.copy_tool.width != 0.0:
pass
else:
self.app.exc_editor.active_tool.click(
self.app.geo_editor.snap(self.app.exc_editor.x, self.app.exc_editor.y))
self.app.exc_editor.active_tool.make()
curr_pos = self.app.exc_editor.snap_x, self.app.exc_editor.snap_y
self.app.exc_editor.on_canvas_click_left_handler(curr_pos)
if self.app.exc_editor.active_tool.complete:
self.app.exc_editor.on_shape_complete()
self.app.inform.emit('[success] %s' % _("Done."))
# automatically make the selection tool active after completing current action
self.app.exc_editor.select_tool('select')
# Delete selected object if delete key event comes out of canvas
if key == 'Delete':