- fixed some leftovers due of recent changes in the theme management
- added a new feature (new modules are required) in the Image Plugin (Menu -> File -> Import -> Import Image) that allow tracing images. This may allow engraving pictures. - started to add UI's for the Excellon Editor Tools (really early work)
This commit is contained in:
@@ -3457,8 +3457,8 @@ class MainGUI(QtWidgets.QMainWindow):
|
||||
if self.app.geo_editor.get_selected() is not None:
|
||||
self.app.geo_editor.cutpath()
|
||||
else:
|
||||
msg = _('Please first select a geometry item to be cutted\n'
|
||||
'then select the geometry item that will be cutted\n'
|
||||
msg = _('Please first select a geometry item to be cut\n'
|
||||
'then select the geometry item that will be cut\n'
|
||||
'out of the first item. In the end press ~X~ key or\n'
|
||||
'the toolbar button.')
|
||||
|
||||
|
||||
@@ -650,7 +650,7 @@ class PlotCanvasLegacy(QtCore.QObject):
|
||||
if self.app.options["global_cursor_color_enabled"]:
|
||||
color = self.app.options["global_cursor_color"]
|
||||
else:
|
||||
if self.app.options['global_theme'] == 'light':
|
||||
if self.app.options['global_theme'] in ['default', 'light']:
|
||||
color = '#000000'
|
||||
else:
|
||||
color = '#FFFFFF'
|
||||
@@ -705,7 +705,7 @@ class PlotCanvasLegacy(QtCore.QObject):
|
||||
if color:
|
||||
color = color
|
||||
else:
|
||||
if self.app.options['global_theme'] == 'light':
|
||||
if self.app.options['global_theme'] in ['default', 'light']:
|
||||
color = '#000000'
|
||||
else:
|
||||
color = '#FFFFFF'
|
||||
@@ -748,7 +748,7 @@ class PlotCanvasLegacy(QtCore.QObject):
|
||||
self.canvas.blit(self.axes.bbox)
|
||||
|
||||
def clear_cursor(self, state):
|
||||
if self.app.options['global_theme'] == 'light':
|
||||
if self.app.options['global_theme'] in ['default', 'light']:
|
||||
color = '#000000'
|
||||
else:
|
||||
color = '#FFFFFF'
|
||||
|
||||
Reference in New Issue
Block a user