Draft: Do not specifically import PySide2

This commit is contained in:
Ladislav Michl
2024-01-25 13:12:02 +01:00
parent 9f84fbe9bb
commit a6c43278a7

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():