- 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: 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
|
- 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
|
- DblSided Plugin - remade the UI
|
||||||
|
- fixed some issues in AppTextEditor due of Qt6 conversion
|
||||||
|
|
||||||
18.09.2021
|
18.09.2021
|
||||||
|
|
||||||
|
|||||||
@@ -329,7 +329,7 @@ class AppTextEditor(QtWidgets.QWidget):
|
|||||||
|
|
||||||
def handleFindGCode(self):
|
def handleFindGCode(self):
|
||||||
|
|
||||||
flags = QtGui.QTextDocument.FindCaseSensitively
|
flags = QtGui.QTextDocument.FindFlag.FindCaseSensitively
|
||||||
text_to_be_found = self.entryFind.get_value()
|
text_to_be_found = self.entryFind.get_value()
|
||||||
|
|
||||||
r = self.code_editor.find(str(text_to_be_found), flags)
|
r = self.code_editor.find(str(text_to_be_found), flags)
|
||||||
@@ -346,7 +346,7 @@ class AppTextEditor(QtWidgets.QWidget):
|
|||||||
while True:
|
while True:
|
||||||
cursor = self.code_editor.textCursor()
|
cursor = self.code_editor.textCursor()
|
||||||
cursor.beginEditBlock()
|
cursor.beginEditBlock()
|
||||||
flags = QtGui.QTextDocument.FindCaseSensitively
|
flags = QtGui.QTextDocument.FindFlag.FindCaseSensitively
|
||||||
# self.ui.editor is the QPlainTextEdit
|
# self.ui.editor is the QPlainTextEdit
|
||||||
r = self.code_editor.find(str(old), flags)
|
r = self.code_editor.find(str(old), flags)
|
||||||
if r:
|
if r:
|
||||||
|
|||||||
Reference in New Issue
Block a user