- added a new menu entry in the View menu to show the application log file where even the fatal crashes are logged
- fixed an issue due of porting to Qt6
This commit is contained in:
committed by
Marius Stanciu
parent
4ffecc0bf8
commit
dd39657e4f
@@ -222,7 +222,7 @@ class AppTextEditor(QtWidgets.QWidget):
|
||||
|
||||
if path:
|
||||
file = QtCore.QFile(path)
|
||||
if file.open(QtCore.QIODevice.ReadOnly):
|
||||
if file.open(QtCore.QIODevice.OpenModeFlag.ReadOnly):
|
||||
stream = QtCore.QTextStream(file)
|
||||
self.code_edited = stream.readAll()
|
||||
self.code_editor.setPlainText(self.code_edited)
|
||||
|
||||
Reference in New Issue
Block a user