PY-17265 Remove wrong message in the dialog for making function top-level

This commit is contained in:
Mikhail Golubev
2016-10-25 00:03:49 +03:00
parent 5483b7771b
commit 1f256950cb
@@ -42,9 +42,6 @@ public class PyMakeFunctionTopLevelDialog extends PyBaseMoveDialog {
setTitle(PyBundle.message("refactoring.make.local.function.top.level.dialog.title"));
myDescription.setText(PyBundle.message("refactoring.make.local.function.top.level.dialog.description", functionName));
}
if (function.getContainingClass() != null) {
myDescription.setText("Make top-level function from method ");
}
myExtraPanel.setVisible(false);
init();
}