Skip to content

[GROOVY-9483] Fix 'Save changes?' dialog quitting on cancel with Java 11 on OSX#1210

Merged
daniellansun merged 1 commit intoapache:masterfrom
timyates:timyates/fix-console-save-cancel
Mar 27, 2020
Merged

[GROOVY-9483] Fix 'Save changes?' dialog quitting on cancel with Java 11 on OSX#1210
daniellansun merged 1 commit intoapache:masterfrom
timyates:timyates/fix-console-save-cancel

Conversation

@timyates
Copy link
Contributor

Hiya! 👋

If the user quits the Groovy console with unsaved changes, it asks if they want to 'Save changes?'

Under Java 11, this still quits if they click 'Cancel', it looks like we need to cancel the quit event if cancel was pressed

(Note: I've not done this in a long time, please let me know if I've missed a step, or not signed something)

Hope you're all keeping well!

If the user quits the Groovy console with unsaved changes, it asks if
they want to 'Save changes?'

Under Java 11, this still quits if they click 'Cancel'

Looks like we need to cancel the quit event if cancel was pressed
@timyates
Copy link
Contributor Author

Not sure why those checks are failing... Don't think it was me... 😞

@timyates
Copy link
Contributor Author

@timyates timyates changed the title Fix 'Save changes?' dialog quitting on cancel with Java 11 on OSX [GROOVY-9483] Fix 'Save changes?' dialog quitting on cancel with Java 11 on OSX Mar 27, 2020
@daniellansun
Copy link
Contributor

+1

Not sure why those checks are failing... Don't think it was me... 😞

We face a weired issue on the github actions CI...

@timyates
Copy link
Contributor Author

Just checked it with 14.0.0-zulu, and it works as expected 🙌

@daniellansun daniellansun merged commit e9804c4 into apache:master Mar 27, 2020
@daniellansun
Copy link
Contributor

Merged. Thanks!

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.

2 participants