-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
che-1865: Fix disable compare button in the compare widget when we have changed few files #2091
Conversation
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/53/ |
Ok to me |
@azatsarynnyy @sleshchenko review please |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/58/ |
ok |
@@ -68,9 +68,9 @@ public void show(Map<String, Status> changedFiles, String revision, Project proj | |||
this.changedFiles = changedFiles; | |||
this.project = project; | |||
view.showDialog(); | |||
view.setEnableCompareButton(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mb it would be better to init state of view and only then show dialog?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
7009f32
to
49ddeed
Compare
OK |
… window. Fix disabled state of the compare button when we open Git compare window and it contains some changed files to compare. Delete unused code. Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
49ddeed
to
1adc400
Compare
+0 |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/82/ |
che-1865: Fix disable compare button in the compare widget when we have changed few files
What does this PR do?
Fix disable compare button when we have changed few files and open compare widget. By default tree with changes select first element and compare button should be enabled.
What issues does this PR fix or reference?
#1865
Tests written?
No
Docs requirements?
Include the content for all the docs changes required.
@vinokurig review please
Signed-off-by: Aleksandr Andrienko aandrienko@codenvy.com