93 |
93 |
94 @param coord the position of the mouse pointer (QPoint) |
94 @param coord the position of the mouse pointer (QPoint) |
95 """ |
95 """ |
96 itm = self.pluginList.itemAt(coord) |
96 itm = self.pluginList.itemAt(coord) |
97 if itm is not None: |
97 if itm is not None: |
98 autoactivate = (itm.text(self.__autoActivateColumn) == |
98 autoactivate = (itm.text(self.__autoActivateColumn) == |
99 self.trUtf8("Yes")) |
99 self.trUtf8("Yes")) |
100 if itm.text(self.__activeColumn) == self.trUtf8("Yes"): |
100 if itm.text(self.__activeColumn) == self.trUtf8("Yes"): |
101 self.__activateAct.setEnabled(False) |
101 self.__activateAct.setEnabled(False) |
102 self.__deactivateAct.setEnabled(autoactivate) |
102 self.__deactivateAct.setEnabled(autoactivate) |
103 else: |
103 else: |