From cfff57399de0b807cdcb01d1eba353f3ae58cdfa Mon Sep 17 00:00:00 2001 From: Dennis Ushakov Date: Mon, 24 Jan 2011 18:15:30 +0300 Subject: [PATCH] IDEA-64453 GitHub task server configuration changes can't be saved --- .../src/com/intellij/tasks/config/BaseRepositoryEditor.form | 2 +- .../src/com/intellij/tasks/config/BaseRepositoryEditor.java | 1 + .../src/com/intellij/tasks/github/GitHubRepositoryEditor.java | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/tasks/tasks-api/src/com/intellij/tasks/config/BaseRepositoryEditor.form b/plugins/tasks/tasks-api/src/com/intellij/tasks/config/BaseRepositoryEditor.form index 25bb74aca16c..c15452cabdb4 100644 --- a/plugins/tasks/tasks-api/src/com/intellij/tasks/config/BaseRepositoryEditor.form +++ b/plugins/tasks/tasks-api/src/com/intellij/tasks/config/BaseRepositoryEditor.form @@ -21,7 +21,7 @@ - + diff --git a/plugins/tasks/tasks-api/src/com/intellij/tasks/config/BaseRepositoryEditor.java b/plugins/tasks/tasks-api/src/com/intellij/tasks/config/BaseRepositoryEditor.java index 81f5e99c0fb4..ff9ee32403ea 100644 --- a/plugins/tasks/tasks-api/src/com/intellij/tasks/config/BaseRepositoryEditor.java +++ b/plugins/tasks/tasks-api/src/com/intellij/tasks/config/BaseRepositoryEditor.java @@ -34,6 +34,7 @@ import java.awt.event.ActionListener; */ public class BaseRepositoryEditor extends TaskRepositoryEditor { + protected JLabel myUrlLabel; protected JTextField myURLText; protected JTextField myUserNameText; protected JLabel myUsernameLabel; diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/github/GitHubRepositoryEditor.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/github/GitHubRepositoryEditor.java index 0782a5b65f71..ea02946fd69d 100644 --- a/plugins/tasks/tasks-core/src/com/intellij/tasks/github/GitHubRepositoryEditor.java +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/github/GitHubRepositoryEditor.java @@ -20,6 +20,9 @@ public class GitHubRepositoryEditor extends BaseRepositoryEditor changeListener) { super(project, repository, changeListener); + myUrlLabel.setVisible(false); + myURLText.setVisible(false); + // project author, by default same as username myRepoAuthor = new JTextField(); myRepoAuthor.setText(repository.getRepoAuthor());