Skip to content

Fix: Initialize cell editor with existing value when editing parameters#32

Merged
rodolakis merged 1 commit into
mainfrom
31-editing-parameters
Dec 8, 2025
Merged

Fix: Initialize cell editor with existing value when editing parameters#32
rodolakis merged 1 commit into
mainfrom
31-editing-parameters

Conversation

@rodolakis

Copy link
Copy Markdown
Contributor

Add Qt.EditRole handler to PlanParameterTableModel.data() to populate QLineEdit with existing value when user starts editing a parameter cell. Previously the editor would be empty because EditRole was not implemented.

Add Qt.EditRole handler to PlanParameterTableModel.data() to populate
QLineEdit with existing value when user starts editing a parameter cell.
Previously the editor would be empty because EditRole was not implemented.
@rodolakis rodolakis requested a review from prjemian December 8, 2025 21:26
@rodolakis rodolakis linked an issue Dec 8, 2025 that may be closed by this pull request
@rodolakis rodolakis marked this pull request as ready for review December 8, 2025 21:26

@prjemian prjemian left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Works now!

@rodolakis rodolakis merged commit 8971faf into main Dec 8, 2025
1 check passed
@rodolakis rodolakis deleted the 31-editing-parameters branch December 8, 2025 21:39
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.

Editing parameters in plan editor clears content

2 participants