diff -r e795cb8240aa -r d501156be247 RefactoringRope/MoveMethodDialog.py --- a/RefactoringRope/MoveMethodDialog.py Sun Oct 13 18:35:25 2013 +0200 +++ b/RefactoringRope/MoveMethodDialog.py Fri Oct 25 19:33:36 2013 +0200 @@ -78,7 +78,7 @@ Private method to perform various UI updates. """ self.__okButton.setEnabled( - self.attributeEdit.text() != "" and \ + self.attributeEdit.text() != "" and self.methodEdit.text() != "") def _calculateChanges(self, handle): @@ -93,8 +93,8 @@ newName = self.methodEdit.text() if not newName: newName = None - changes = self.__mover.get_changes(self.attributeEdit.text(), - newName, task_handle=handle) + changes = self.__mover.get_changes( + self.attributeEdit.text(), newName, task_handle=handle) return changes except Exception as err: self._refactoring.handleRopeError(err, self._title, handle)