- removed the raise statement in do_worker_task() function as this is fatal in conjunction with PyQt5

- added a try - except clause for the situations when for a font can't be determined the family and name
- moved font parsing to the Geometry Editor: it is done everytime the Text tool is invoked
- made sure that the HPGL postprocessor is not populated in the Excellon postprocessors in Preferences as it make no sense (HPGL is useful only for Geometries)
This commit is contained in:
Marius Stanciu
2019-01-21 01:17:04 +02:00
committed by Marius S
parent f242e3163e
commit e6d431c9e3
6 changed files with 34 additions and 11 deletions

View File

@@ -11,6 +11,7 @@ from PyQt5.QtCore import Qt
from GUIElements import *
import platform
class FlatCAMGUI(QtWidgets.QMainWindow):
# Emitted when persistent window geometry needs to be retained
geom_update = QtCore.pyqtSignal(int, int, int, int, int, name='geomUpdate')
@@ -1868,6 +1869,10 @@ class ExcellonPrefGroupUI(OptionsGroupUI):
grid2.addWidget(excellon_gcode_type_label, 13, 0)
grid2.addWidget(self.excellon_gcode_type_radio, 13, 1)
# until I decide to implement this feature those remain disabled
excellon_gcode_type_label.setDisabled(True)
self.excellon_gcode_type_radio.setDisabled(True)
#### Milling Holes ####
self.mill_hole_label = QtWidgets.QLabel('<b>Mill Holes</b>')
self.mill_hole_label.setToolTip(