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

gui: Early exit from functions or loops #4916

Merged
merged 7 commits into from
Feb 4, 2025

Conversation

echoix
Copy link
Member

@echoix echoix commented Jan 4, 2025

Analogous to #4910, but for files in gui/.

I verified all the changes when committing them to make sure they are equivalent and that they kept the comments. The places I was unsure I reverted them, so these are the ones that make sense

echoix added 2 commits January 4, 2025 14:14
Flattens nested conditionals and moves error messages or returns near the top
Flattens nested conditionals and moves error messages near the top
@github-actions github-actions bot added GUI wxGUI related Python Related code is in Python labels Jan 4, 2025
@echoix echoix requested a review from ninsbl January 15, 2025 23:37
@echoix echoix requested a review from petrasovaa January 16, 2025 17:18
gui/wxpython/gcp/manager.py Outdated Show resolved Hide resolved
gui/wxpython/image2target/ii2t_manager.py Outdated Show resolved Hide resolved
gui/wxpython/photo2image/ip2i_manager.py Outdated Show resolved Hide resolved
@arohanajit

This comment was marked as off-topic.

@echoix

This comment was marked as off-topic.

@echoix echoix requested a review from petrasovaa February 1, 2025 00:53
@echoix echoix merged commit 2619f91 into OSGeo:main Feb 4, 2025
27 checks passed
@echoix echoix deleted the pyrefact-gui-early-exit branch February 4, 2025 03:27
@github-actions github-actions bot added this to the 8.5.0 milestone Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI wxGUI related Python Related code is in Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants