- 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

@ -15,7 +15,7 @@ CHANGELOG for FlatCAM beta
- In Excellon Object UI fixed the milling geometry generation
- updated the translations strings to the changes in the source code
- some strings changed
- made the Properties checkbox in the Object UI into a checkable button and added to it an icon
- fixed crash on using shortcut for creating a new Document Object
20.10.2020

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: