src/eric7/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveBrowserDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10439
21c28b0f9e41
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
266 self.__hgClient.cancel() 266 self.__hgClient.cancel()
267 elif button == self.refreshButton: 267 elif button == self.refreshButton:
268 self.on_refreshButton_clicked() 268 self.on_refreshButton_clicked()
269 269
270 @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem) 270 @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem)
271 def on_shelveList_currentItemChanged(self, current, previous): 271 def on_shelveList_currentItemChanged(self, current, _previous):
272 """ 272 """
273 Private slot called, when the current item of the shelve list changes. 273 Private slot called, when the current item of the shelve list changes.
274 274
275 @param current reference to the new current item 275 @param current reference to the new current item
276 @type QTreeWidgetItem 276 @type QTreeWidgetItem
277 @param previous reference to the old current item 277 @param _previous reference to the old current item (unused)
278 @type QTreeWidgetItem 278 @type QTreeWidgetItem
279 """ 279 """
280 self.statisticsList.clear() 280 self.statisticsList.clear()
281 if current: 281 if current:
282 for dataSet in current.data(0, self.__fileStatisticsRole): 282 for dataSet in current.data(0, self.__fileStatisticsRole):

eric ide

mercurial