From e53ccb3c53de3c6a3eab9a064b44d30c3732b7fc Mon Sep 17 00:00:00 2001 From: Mike Hendricks Date: Mon, 20 May 2024 18:52:46 -0700 Subject: [PATCH] Move QTextCodec import out of Qt.py into PyQt5 --- preditor/scintilla/documenteditor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/preditor/scintilla/documenteditor.py b/preditor/scintilla/documenteditor.py index 72b5cc4d..94dad5eb 100644 --- a/preditor/scintilla/documenteditor.py +++ b/preditor/scintilla/documenteditor.py @@ -21,8 +21,9 @@ import six from PyQt5.Qsci import QsciScintilla +from PyQt5.QtCore import QTextCodec from Qt import QtCompat -from Qt.QtCore import Property, QFile, QPoint, Qt, QTextCodec, Signal +from Qt.QtCore import Property, QFile, QPoint, Qt, Signal from Qt.QtGui import QColor, QFont, QFontMetrics, QIcon from Qt.QtWidgets import ( QAction,