فهرست منبع

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

Marius Stanciu 5 سال پیش
والد
کامیت
261adbb861
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      CHANGELOG.md
  2. 2 2
      appGUI/MainGUI.py

+ 1 - 1
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
 

+ 2 - 2
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: