eric6/E5Gui/E5ModelMenu.py

changeset 7759
51aa6c6b66f7
parent 7533
88261c96484b
child 7780
41420f82c0ac
--- a/eric6/E5Gui/E5ModelMenu.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/E5Gui/E5ModelMenu.py	Tue Oct 06 17:52:44 2020 +0200
@@ -398,7 +398,7 @@
         actionRect = self.actionGeometry(act)
         drag.setPixmap(self.grab(actionRect))
         
-        if drag.exec_() == Qt.MoveAction:
+        if drag.exec() == Qt.MoveAction:
             row = idx.row()
             if self.__dropIndex == idx.parent() and self.__dropRow <= row:
                 row += 1

eric ide

mercurial