Also fix import in the error handler
This commit is contained in:
@@ -112,8 +112,7 @@ class NWErrorMessage(QDialog):
|
|||||||
"""
|
"""
|
||||||
from traceback import format_tb
|
from traceback import format_tb
|
||||||
from novelwriter import __issuesurl__, __version__
|
from novelwriter import __issuesurl__, __version__
|
||||||
from PyQt5.Qt import PYQT_VERSION_STR
|
from PyQt5.QtCore import QT_VERSION_STR, PYQT_VERSION_STR, QSysInfo
|
||||||
from PyQt5.QtCore import QT_VERSION_STR, QSysInfo
|
|
||||||
|
|
||||||
self.msgHead.setText((
|
self.msgHead.setText((
|
||||||
"<p>An unhandled error has been encountered.</p>"
|
"<p>An unhandled error has been encountered.</p>"
|
||||||
|
|||||||
Reference in New Issue
Block a user