Skip to content

Fix time adjustment buttons after copying from previous waypoint#297

Merged
j-atkins merged 2 commits intomainfrom
plan-fix
Mar 3, 2026
Merged

Fix time adjustment buttons after copying from previous waypoint#297
j-atkins merged 2 commits intomainfrom
plan-fix

Conversation

@j-atkins
Copy link
Collaborator

@j-atkins j-atkins commented Mar 2, 2026

Following #296 (thanks @ammedd for pointing this out), this PR adds a hard update of the underlying waypoint object time at the end of the copy_from_previous() method, to ensure that the buttons to add/subtract time onto the waypoints modify the correct datetime after copying from the previous waypoint.

Closes #296

@j-atkins j-atkins requested a review from ammedd March 2, 2026 10:23
@j-atkins j-atkins merged commit 42b7c27 into main Mar 3, 2026
9 of 10 checks passed
@j-atkins j-atkins deleted the plan-fix branch March 3, 2026 07:46
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.

plan UI "copy time & instruments from previous" gets overwritten when adding time with buttons

2 participants