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