Draft: Do not specifically import PySide2

This commit is contained in:
Ladislav Michl
2024-01-25 13:12:02 +01:00
parent a5cf4bdd33
commit 87985620c1

View File

@@ -1765,7 +1765,7 @@ def get_working_plane(update=True):
# View observer code to update the Draft Tray:
if FreeCAD.GuiUp:
from PySide2 import QtWidgets
from PySide import QtWidgets
from draftutils.todo import ToDo
def _update_gui():