From 261adbb8611be0967d8bb589f361fe1108c46eb6 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Wed, 21 Oct 2020 12:57:29 +0300 Subject: [PATCH] - fixed crash on using shortcut for creating a new Document Object --- CHANGELOG.md | 2 +- appGUI/MainGUI.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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: