- some changes due of porting to PyQt6

This commit is contained in:
Marius Stanciu
2021-08-19 23:29:30 +03:00
committed by Marius Stanciu
parent 2136d6c42f
commit 4ffecc0bf8
3 changed files with 4 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ CHANGELOG for FlatCAM beta
- cleaned up the Geometry and Gerber object classes
- more cleanup in Isolation Plugin
- started the work in adding to Isolation Plugin a new feature to extra isolate the pads
- some changes due of porting to PyQt6
18.08.2021

View File

@@ -381,7 +381,7 @@ class AppGCodeEditor(QtCore.QObject):
:return:
:rtype:
"""
flags = QtGui.QTextDocument.FindCaseSensitively
flags = QtGui.QTextDocument.FindFlag.FindCaseSensitively
self.edit_area.moveCursor(QtGui.QTextCursor.MoveOperation.Start)
if self.gcode_obj.options['type'].lower() == 'geometry':

View File

@@ -1690,6 +1690,8 @@ class ToolIsolation(AppTool, Gerber):
work_geo = geometry
if work_geo is None:
# we do isolation over all the geometry of the Gerber object
# because it is already fused together
work_geo = isolated_obj.solid_geometry
iso_t = {