--- a/RefactoringRope/MethodToMethodObjectDialog.py Wed Sep 27 19:50:44 2017 +0200 +++ b/RefactoringRope/MethodToMethodObjectDialog.py Fri Sep 29 10:23:35 2017 +0200 @@ -12,8 +12,8 @@ from PyQt5.QtCore import pyqtSlot from PyQt5.QtWidgets import QDialogButtonBox, QAbstractButton -from Ui_MethodToMethodObjectDialog import Ui_MethodToMethodObjectDialog -from RefactoringDialogBase import RefactoringDialogBase +from .Ui_MethodToMethodObjectDialog import Ui_MethodToMethodObjectDialog +from .RefactoringDialogBase import RefactoringDialogBase class MethodToMethodObjectDialog(RefactoringDialogBase, @@ -62,7 +62,8 @@ """ Private slot to react to changes of the name. - @param text text entered into the edit (string) + @param text text entered into the edit + @type str """ self.__okButton.setEnabled(bool(text)) self.__previewButton.setEnabled(bool(text)) @@ -72,7 +73,8 @@ """ Private slot to act on the button pressed. - @param button reference to the button pressed (QAbstractButton) + @param button reference to the button pressed + @type QAbstractButton """ if button == self.__previewButton: self.requestPreview()