- fixed some issues in AppTextEditor due of Qt6 conversion
This commit is contained in:
@@ -15,6 +15,7 @@ CHANGELOG for FlatCAM beta
|
||||
- In Plugins: Panelize, Cutout, Extract, Copper Thieving disabled the autoload of the last created APP object
|
||||
- In Plugins: Calculators, Copper Thieving, Corners, Extract, Fiducials and Film activated the harmonizing first column width in the Plugin UI
|
||||
- DblSided Plugin - remade the UI
|
||||
- fixed some issues in AppTextEditor due of Qt6 conversion
|
||||
|
||||
18.09.2021
|
||||
|
||||
|
||||
@@ -329,7 +329,7 @@ class AppTextEditor(QtWidgets.QWidget):
|
||||
|
||||
def handleFindGCode(self):
|
||||
|
||||
flags = QtGui.QTextDocument.FindCaseSensitively
|
||||
flags = QtGui.QTextDocument.FindFlag.FindCaseSensitively
|
||||
text_to_be_found = self.entryFind.get_value()
|
||||
|
||||
r = self.code_editor.find(str(text_to_be_found), flags)
|
||||
@@ -346,7 +346,7 @@ class AppTextEditor(QtWidgets.QWidget):
|
||||
while True:
|
||||
cursor = self.code_editor.textCursor()
|
||||
cursor.beginEditBlock()
|
||||
flags = QtGui.QTextDocument.FindCaseSensitively
|
||||
flags = QtGui.QTextDocument.FindFlag.FindCaseSensitively
|
||||
# self.ui.editor is the QPlainTextEdit
|
||||
r = self.code_editor.find(str(old), flags)
|
||||
if r:
|
||||
|
||||
Reference in New Issue
Block a user