- fixed crash on using shortcut for creating a new Document Object

This commit is contained in:
Marius Stanciu
2020-10-21 12:57:29 +03:00
committed by Marius
parent ed26aead0c
commit 261adbb861
2 changed files with 3 additions and 3 deletions

View File

@@ -2684,9 +2684,9 @@ class MainGUI(QtWidgets.QMainWindow):
if key == QtCore.Qt.Key_B:
self.app.app_obj.new_gerber_object()
# New Geometry
# New Document Object
if key == QtCore.Qt.Key_D:
self.app.new_document_object()
self.app.app_obj.new_document_object()
# Copy Object Name
if key == QtCore.Qt.Key_E: