diff options
| author | Markus Duft | 2011-12-13 10:43:18 +0000 |
|---|---|---|
| committer | Markus Duft | 2012-01-04 13:56:43 +0000 |
| commit | 2dcea75d0fe7cdf82de841ca3ba373db4bf743d5 (patch) | |
| tree | 21bf7d0a1146cb1302f3fb00664bb5843c5e8f57 | |
| parent | 2377fbf3f272836650a94c47eec2a34e7580435c (diff) | |
| download | egit-2dcea75d0fe7cdf82de841ca3ba373db4bf743d5.tar.gz egit-2dcea75d0fe7cdf82de841ca3ba373db4bf743d5.tar.xz egit-2dcea75d0fe7cdf82de841ca3ba373db4bf743d5.zip | |
Make staging view check the ChangeId button correctly.
The enables or disables the Gerrit ChangeId button in the staging view
according to the settings in the repository, just like with the commit
dialog.
Change-Id: Ibcdbe79c07cb4a4c230a0d538601d35e335df041
| -rw-r--r-- | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java | 4 |
1 files changed, 2 insertions, 2 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 c7c73f6af3..ecdcb901c2 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 @@ -1293,8 +1293,8 @@ public class StagingView extends ViewPart { .getPreviousCommit())); commitMessageComponent.setAmendAllowed(helper.amendAllowed()); commitMessageComponent.setAmending(false); - commitMessageComponent.setSignedOff(false); - commitMessageComponent.setCreateChangeId(false); + // set the defaults for change id and signed off buttons. + commitMessageComponent.setDefaults(); commitMessageComponent.updateUI(); commitMessageComponent.enableListers(true); } |
