diff --git a/CHANGELOG.md b/CHANGELOG.md index 570c6881..aaae3bcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/appGUI/MainGUI.py b/appGUI/MainGUI.py index f9229ab1..d864c0a3 100644 --- a/appGUI/MainGUI.py +++ b/appGUI/MainGUI.py @@ -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: