--- a/RefactoringRope/HistoryDialog.py Fri Oct 11 18:42:45 2019 +0200 +++ b/RefactoringRope/HistoryDialog.py Fri Oct 11 19:05:23 2019 +0200 @@ -11,8 +11,9 @@ from PyQt5.QtCore import pyqtSlot, Qt, QItemSelectionModel from PyQt5.QtGui import QBrush, QColor, QTextCursor -from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QListWidgetItem, \ - QAbstractButton +from PyQt5.QtWidgets import ( + QDialog, QDialogButtonBox, QListWidgetItem, QAbstractButton +) from E5Gui.E5Application import e5App from E5Gui import E5MessageBox @@ -294,8 +295,10 @@ QItemSelectionModel.Select) self.__refreshButton.setEnabled(True) - if self.undoChangesList.count() > 0 or \ - self.redoChangesList.count() > 0: + if ( + self.undoChangesList.count() > 0 or + self.redoChangesList.count() > 0 + ): self.__clearButton.setEnabled(True) elif subcommand == "ChangeDescription":