[vcs] Do not start clone dialog validation preemptivly

This commit is contained in:
Ivan Semenov
2018-05-25 20:16:52 +03:00
parent 2816244200
commit f2ee0f8cb5
@@ -191,12 +191,6 @@ public abstract class CloneDvcsDialog extends DialogWrapper {
repositoryUrlFieldSpinner));
myRepositoryUrlCombobox.setModel(myRepositoryUrlComboboxModel);
myRepositoryUrlField.addDocumentListener(new DocumentListener() {
@Override
public void documentChanged(com.intellij.openapi.editor.event.DocumentEvent event) {
startTrackingValidation();
}
});
myRepositoryUrlField.addDocumentListener(new DocumentListener() {
@Override
public void documentChanged(com.intellij.openapi.editor.event.DocumentEvent event) {
@@ -223,12 +217,6 @@ public abstract class CloneDvcsDialog extends DialogWrapper {
DvcsBundle.getString("clone.destination.directory.browser.description"),
myProject,
fcd);
myDirectoryField.getTextField().getDocument().addDocumentListener(new DocumentAdapter() {
@Override
protected void textChanged(DocumentEvent e) {
startTrackingValidation();
}
});
if (defaultUrl != null) {
myRepositoryUrlField.setText(defaultUrl);