mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs] Do not start clone dialog validation preemptivly
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user