소스 검색

- fixed some typos

Marius Stanciu 6 년 전
부모
커밋
c74814cb00
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      README.md
  2. 2 2
      flatcamEditors/FlatCAMGrbEditor.py

+ 1 - 0
README.md

@@ -12,6 +12,7 @@ CAD program, and create G-Code for Isolation routing.
 27.12.2019
 27.12.2019
 
 
 - updated the POT file and the translation files for German, Spanish and French languages
 - updated the POT file and the translation files for German, Spanish and French languages
+- fixed some typos
 
 
 26.12.2019
 26.12.2019
 
 

+ 2 - 2
flatcamEditors/FlatCAMGrbEditor.py

@@ -201,7 +201,7 @@ class FCPad(FCShapeTool):
             QtGui.QGuiApplication.restoreOverrideCursor()
             QtGui.QGuiApplication.restoreOverrideCursor()
         except Exception as e:
         except Exception as e:
             pass
             pass
-        self.cursor = QtGui.QCursor(QtGui.QPixmap(self.app.resource_location + '/aero_circle.png'))
+        self.cursor = QtGui.QCursor(QtGui.QPixmap(self.draw_app.app.resource_location + '/aero_circle.png'))
         QtGui.QGuiApplication.setOverrideCursor(self.cursor)
         QtGui.QGuiApplication.setOverrideCursor(self.cursor)
 
 
         try:
         try:
@@ -425,7 +425,7 @@ class FCPadArray(FCShapeTool):
             QtGui.QGuiApplication.restoreOverrideCursor()
             QtGui.QGuiApplication.restoreOverrideCursor()
         except Exception as e:
         except Exception as e:
             pass
             pass
-        self.cursor = QtGui.QCursor(QtGui.QPixmap(self.app.resource_location + '/aero_array.png'))
+        self.cursor = QtGui.QCursor(QtGui.QPixmap(self.draw_app.app.resource_location + '/aero_array.png'))
         QtGui.QGuiApplication.setOverrideCursor(self.cursor)
         QtGui.QGuiApplication.setOverrideCursor(self.cursor)
 
 
         self.storage_obj = self.draw_app.storage_dict[self.draw_app.last_aperture_selected]['geometry']
         self.storage_obj = self.draw_app.storage_dict[self.draw_app.last_aperture_selected]['geometry']