From c5b55c1dfe5854bf119283e3ce1d5cb771bd5979 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 29 Nov 2016 10:45:07 +0800 Subject: [PATCH] applets: compatibility with older Qt. Closes #629 --- artiq/gui/applets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gui/applets.py b/artiq/gui/applets.py index 91636d601..d440120fa 100644 --- a/artiq/gui/applets.py +++ b/artiq/gui/applets.py @@ -518,7 +518,7 @@ class AppletsDock(QtWidgets.QDockWidget): item.setFlags(QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEditable | QtCore.Qt.ItemIsUserCheckable | - QtCore.Qt.ItemIsAutoTristate | + QtCore.Qt.ItemIsTristate | QtCore.Qt.ItemIsDragEnabled | QtCore.Qt.ItemIsDropEnabled | QtCore.Qt.ItemIsEnabled)