- added more key shortcuts into the application; they are now displayed in the GUI menu's

- reorganized the Edit -> Preferences -> Global
- redesigned the messagebox that is showed when quiting ot creating a New Project: now it has an option ('Cancel') to abort the process returning to the app
This commit is contained in:
Marius Stanciu
2019-01-27 03:32:09 +02:00
committed by Marius S
parent c0031235cd
commit c4a9c8bd77
22 changed files with 595 additions and 326 deletions

View File

@@ -1295,7 +1295,7 @@ class FlatCAMExcellon(FlatCAMObj, Excellon):
"""
excellon_code = ''
units = self.app.general_options_form.general_group.units_radio.get_value().upper()
units = self.app.general_options_form.general_app_group.units_radio.get_value().upper()
# store here if the file has slots, return 1 if any slots, 0 if only drills
has_slots = 0
@@ -1355,7 +1355,7 @@ class FlatCAMExcellon(FlatCAMObj, Excellon):
"""
excellon_code = ''
units = self.app.general_options_form.general_group.units_radio.get_value().upper()
units = self.app.general_options_form.general_app_group.units_radio.get_value().upper()
# store here if the file has slots, return 1 if any slots, 0 if only drills
has_slots = 0
@@ -2862,7 +2862,7 @@ class FlatCAMGeometry(FlatCAMObj, Geometry):
self.ui.geo_tools_table.setCurrentItem(self.ui.geo_tools_table.item(row, 0))
def export_dxf(self):
units = self.app.general_options_form.general_group.units_radio.get_value().upper()
units = self.app.general_options_form.general_app_group.units_radio.get_value().upper()
dwg = None
try:
dwg = ezdxf.new('R2010')