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

Fix for #4324 #4325

Closed
wants to merge 4 commits into from
Closed

Fix for #4324 #4325

wants to merge 4 commits into from

Conversation

Jmr3366
Copy link
Contributor

@Jmr3366 Jmr3366 commented Oct 17, 2023

Identify the Bug or Feature request

resolves #4324

Description of the Change

added a "return"

Possible Drawbacks

none (that I found)


This change is Reviewable

@@ -2870,6 +2870,8 @@ protected void executeAction() {
MapTool.showError("msg.error.failedSaveMap", ioe);
}
}
} else {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it would be better to just change "if (chooser.showSaveDialog(MapTool.getFrame()) == JFileChooser.APPROVE_OPTION) { do save }" to "if (chooser.showSaveDialog(MapTool.getFrame()) != JFileChooser.APPROVE_OPTION) break;" instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

suggestions completed

@Jmr3366 Jmr3366 requested a review from thelsing October 17, 2023 15:26
@Jmr3366 Jmr3366 closed this Oct 17, 2023
@Jmr3366 Jmr3366 deleted the jmr-develop branch October 17, 2023 18:25
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.

[Bug]: Map-Export Map- can't cancel
2 participants