Skip to content
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

[JBIDE-22763] use explorer selection if no image is selected #1260

Merged
merged 1 commit into from
Jul 20, 2016

Conversation

adietish
Copy link
Member

No description provided.

@adietish
Copy link
Member Author

This was about adding logic back in that went lost in the last refactoring. This now should match the prior state.
@fbricon @jeffmaury @bdshadow @scabanovich please review

if (image != null) {
selection = OpenShiftUIUtils.getOpenShiftExplorerSelection();
if (image == null
|| OpenShiftUIUtils.hasOpenShiftExplorerSelection()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still, when image != null, may line

selection = OpenShiftUIUtils.getOpenShiftExplorerSelection();

be needed? When image == null, yes, wizard is probably started from the explorer, and current selection is ok, but if image != null, wizard may be started from Docker explorer, and to select project we have to get explorer selection as before.

@fbricon
Copy link
Member

fbricon commented Jul 20, 2016

+1

@fbricon fbricon merged commit 1be9820 into jbosstools:master Jul 20, 2016
@adietish adietish deleted the JBIDE-22763 branch January 17, 2017 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants