252 color.name(), paper.name() |
252 color.name(), paper.name() |
253 ) |
253 ) |
254 ) |
254 ) |
255 |
255 |
256 @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem) |
256 @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem) |
257 def on_styleElementList_currentItemChanged(self, current, previous): |
257 def on_styleElementList_currentItemChanged(self, current, _previous): |
258 """ |
258 """ |
259 Private method to handle a change of the current row. |
259 Private method to handle a change of the current row. |
260 |
260 |
261 @param current reference to the current item |
261 @param current reference to the current item |
262 @type QTreeWidgetItem |
262 @type QTreeWidgetItem |
263 @param previous reference to the previous item |
263 @param _previous reference to the previous item (unused) |
264 @type QTreeWidgetItem |
264 @type QTreeWidgetItem |
265 """ |
265 """ |
266 if current is None: |
266 if current is None: |
267 return |
267 return |
268 |
268 |