- fixed persistence of view status for the coordinates toolbars

- fixed broken selection in Excellon Editor
This commit is contained in:
Marius Stanciu
2022-05-01 06:02:48 +03:00
committed by Marius
parent b9edac24e8
commit f8ccf03786
3 changed files with 10 additions and 5 deletions

View File

@@ -7,6 +7,11 @@ CHANGELOG for FlatCAM Evo beta
=================================================
1.05.2022
- fixed persistence of view status for the coordinates toolbars
- fixed broken selection in Excellon Editor
30.04.2022
- in Excellon Editor, Slot Plugin, made sure that once the Editor is active any change for this plugin parameters will be kept until editor is exit or that parameter is changed again

View File

@@ -4110,7 +4110,7 @@ class AppExcEditor(QtCore.QObject):
self.replot()
click_position = pos if pos is not None else self.clicked_pos
if self.active_tool is not None:
if self.active_tool is not None and self.active_tool.name != 'drill_select':
# Dispatch event to active_tool
try:
self.active_tool.click_release(click_position)

View File

@@ -2357,19 +2357,19 @@ class MainGUI(QtWidgets.QMainWindow):
status_action.triggered.connect(self.toggle_statusbar)
def toggle_coords(self, checked):
self.app.defaults["global_coordsbar_show"] = checked
self.app.options["global_coordsbar_show"] = checked
self.coords_toolbar.setVisible(checked)
def toggle_delta_coords(self, checked):
self.app.defaults["global_delta_coordsbar_show"] = checked
self.app.options["global_delta_coordsbar_show"] = checked
self.delta_coords_toolbar.setVisible(checked)
def toggle_gridbar(self, checked):
self.app.defaults["global_gridbar_show"] = checked
self.app.options["global_gridbar_show"] = checked
self.grid_toolbar.setVisible(checked)
def toggle_statusbar(self, checked):
self.app.defaults["global_statusbar_show"] = checked
self.app.options["global_statusbar_show"] = checked
self.status_toolbar.setVisible(checked)
def on_preferences_open_folder(self):