- adapted HPGL importer to work within the new app

- in Gerber Editor fixed an error when using the Distance Tool with "Snap to center" option active: if clicking not on a pad Distance Tool was not working
- updated the Turkish translation strings (by Mehmet Kaya)
This commit is contained in:
Marius Stanciu
2020-10-31 01:28:00 +02:00
parent 3e1e12f42c
commit 0774f8d643
6 changed files with 86 additions and 71 deletions

View File

@@ -10344,7 +10344,7 @@ class MenuFileHandlers(QtCore.QObject):
"Expected to initialize a GeometryObject but got %s" % type(geo_obj)
# Opening the file happens here
obj = HPGL2(self)
obj = HPGL2(self.app)
try:
HPGL2.parse_file(obj, filename)
except IOError: