Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.ui/src/org')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
index 87b6f7cb7..ae4f61d68 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
@@ -744,8 +744,6 @@ public class StagingView extends ViewPart
private ListenerHandle refsChangedListener;
- private ListenerHandle configChangedListener;
-
private LocalResourceManager resources = new LocalResourceManager(
JFaceResources.getResources());
@@ -3713,13 +3711,6 @@ public class StagingView extends ViewPart
.addRefsChangedListener(
event -> updateRebaseButtonVisibility(repository
.getRepositoryState().isRebasing()));
- if (configChangedListener != null) {
- configChangedListener.remove();
- }
- configChangedListener = repository.getListenerList()
- .addConfigChangedListener(
- event -> asyncExec(
- () -> resetCommitMessageComponent()));
}
final StagingViewUpdate update = new StagingViewUpdate(repository,
indexDiff, null);
@@ -4260,9 +4251,6 @@ public class StagingView extends ViewPart
if (refsChangedListener != null) {
refsChangedListener.remove();
}
- if (configChangedListener != null) {
- configChangedListener.remove();
- }
if (switchRepositoriesAction != null) {
switchRepositoriesAction.dispose();

Back to the top