Skip to content

Stop reverting prior changes by simply cancelling the "Save design info" dialog. Fixes #2680 - #2815

Merged
JoePfeiffer merged 1 commit into
openrocket:unstablefrom
jimmiedave:fix2680
Jun 29, 2025
Merged

JoePfeiffer merged 1 commit into
openrocket:unstablefrom
jimmiedave:fix2680

Conversation

@jimmiedave

@jimmiedave jimmiedave commented May 27, 2025 •

Copy link
Copy Markdown
Contributor

Removed code from SaveDesignInfoPanel.java which was apparently pasted from RocketComponentConfig.java. The removed code was causing misbehavior from an unrelated preference setting (former lines 61-73 of SaveDesignInfoPanel) and causing spurious document.undo() actions upon dialog cancel (former line 81): there should be nothing to undo re: the SaveDesignInfoPanel. This resolves #2680

…d from RocketComponentConfig.java. The removed code was causing misbehavior from an unrelated preference setting (former lines 61-73 of SaveDesignInfoPanel) and causing spurious document.undo() actions upon dialog cancel (former line 81): there should be nothing to undo re: the SaveDesignInfoPanel. This resolves openrocket#2680
@JoePfeiffer
JoePfeiffer merged commit 920315a into openrocket:unstable Jun 29, 2025
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] TITLE CHANGE: Cancelling "Save design info" dialog during "Save as..." REVERTS MOST RECENT CHANGE to component/simulation

2 participants