- fixed some issues with using the exec_() which now should be exec()

- added a context menu action in the canvas context menu for moving selected objects to origin
This commit is contained in:
Marius Stanciu
2021-08-15 02:19:24 +03:00
committed by Marius
parent 835ef0620e
commit 7a7214752c
6 changed files with 18 additions and 10 deletions

View File

@@ -1786,6 +1786,8 @@ class MainGUI(QtWidgets.QMainWindow):
self.popmenu_save.setVisible(False)
self.popMenu.addSeparator()
self.popmenu_move2origin = self.popMenu.addAction(
QtGui.QIcon(self.app.resource_location + '/origin2_32.png'), _("Move2Origin"))
self.popmenu_move = self.popMenu.addAction(
QtGui.QIcon(self.app.resource_location + '/move32.png'), _("Move"))
self.popmenu_properties = self.popMenu.addAction(