src/eric7/WebBrowser/CookieJar/CookiesDialog.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 11006
a671918232f3
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
153 self.__cookieJar.clear() 153 self.__cookieJar.clear()
154 self.__domainDict = {} 154 self.__domainDict = {}
155 self.cookiesTree.clear() 155 self.cookiesTree.clear()
156 156
157 @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem) 157 @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem)
158 def on_cookiesTree_currentItemChanged(self, current, previous): 158 def on_cookiesTree_currentItemChanged(self, current, _previous):
159 """ 159 """
160 Private slot to handle a change of the current item. 160 Private slot to handle a change of the current item.
161 161
162 @param current reference to the current item 162 @param current reference to the current item
163 @type QTreeWidgetItem 163 @type QTreeWidgetItem
164 @param previous reference to the previous current item 164 @param _previous reference to the previous current item (unused)
165 @type QTreeWidgetItem 165 @type QTreeWidgetItem
166 """ 166 """
167 self.addButton.setEnabled(current is not None) 167 self.addButton.setEnabled(current is not None)
168 self.removeButton.setEnabled(current is not None) 168 self.removeButton.setEnabled(current is not None)
169 169

eric ide

mercurial