src/eric7/CodeFormatting/BlackFormattingDialog.py

branch
eric7
changeset 10689
3ede487187f2
parent 10683
779cda568acb
child 11006
a671918232f3
equal deleted inserted replaced
10688:0d9853ceb288 10689:3ede487187f2
263 263
264 self.__config["__action__"] = BlackFormattingAction.Format 264 self.__config["__action__"] = BlackFormattingAction.Format
265 self.__performAction() 265 self.__performAction()
266 266
267 @pyqtSlot(QTreeWidgetItem, int) 267 @pyqtSlot(QTreeWidgetItem, int)
268 def on_resultsList_itemDoubleClicked(self, item, column): 268 def on_resultsList_itemDoubleClicked(self, item, _column):
269 """ 269 """
270 Private slot handling a double click of a result item. 270 Private slot handling a double click of a result item.
271 271
272 @param item reference to the double clicked item 272 @param item reference to the double clicked item
273 @type QTreeWidgetItem 273 @type QTreeWidgetItem
274 @param column column number that was double clicked 274 @param _column column number that was double clicked (unused)
275 @type int 275 @type int
276 """ 276 """
277 dataType = item.data(0, BlackFormattingDialog.DataTypeRole) 277 dataType = item.data(0, BlackFormattingDialog.DataTypeRole)
278 if dataType == "error": 278 if dataType == "error":
279 EricMessageBox.critical( 279 EricMessageBox.critical(

eric ide

mercurial