diff --git a/src/mcedit2/main.py b/src/mcedit2/main.py index 62bd624..2752083 100644 --- a/src/mcedit2/main.py +++ b/src/mcedit2/main.py @@ -157,6 +157,8 @@ editorApp = None @profiler.function("startup") def startup(): + # Must call this before QApplication is created + QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_X11InitThreads, True) global editorApp setup_logging() sys.excepthook = excepthook