- fixed a crash when creating a Document object due of changes in Qt6 (missing QtGui.Qt)
- in Document object fixed the issue with not setting selection color when in a dark theme (essentially got rid of using QPalette) - in dark theme stylesheet changed the indent of the QCheckBox (and in Radio buttons too) - updated the FClabel widget with some more properties - updated the hack to make sure that the Editor sub-tools do not lose the stylesheet of the background - updated the disabled project item color default value for the dark theme
This commit is contained in:
@@ -176,7 +176,7 @@ class ToolIsolation(AppTool, Gerber):
|
||||
if self.app.ui.splitter.sizes()[0] == 0:
|
||||
self.app.ui.splitter.setSizes([1, 1])
|
||||
|
||||
AppTool.run(self)
|
||||
super().run()
|
||||
self.set_tool_ui()
|
||||
|
||||
# reset those objects on a new run
|
||||
@@ -2138,8 +2138,8 @@ class ToolIsolation(AppTool, Gerber):
|
||||
return 'fail'
|
||||
else:
|
||||
if self.validation_status:
|
||||
msg = '[success] %s: %s' % (_("Isolation geometry created"), geo_obj.obj_options["name"])
|
||||
app_obj.inform.emit(msg)
|
||||
mssg = '[success] %s: %s' % (_("Isolation geometry created"), geo_obj.obj_options["name"])
|
||||
app_obj.inform.emit(mssg)
|
||||
|
||||
a_select = True if self.validation_status else False
|
||||
self.app.app_obj.new_object("geometry", iso_name, iso_init, plot=plot, autoselected=a_select)
|
||||
|
||||
Reference in New Issue
Block a user