Skip to content

attempt at fixing some visual issues with the model editor #407 - #345

Merged
rozyczko merged 1 commit into
developfrom
407-visual-issues
Sep 11, 2026
Merged

attempt at fixing some visual issues with the model editor #407#345
rozyczko merged 1 commit into
developfrom
407-visual-issues

Conversation

@rozyczko

@rozyczko rozyczko commented Sep 9, 2026

Copy link
Copy Markdown
Member

Model switching and selection state refresh:

  • When switching models via setCurrentModelIndex, the assembly and layer indices are now reset to zero, and the assembly selection state is refreshed to ensure the UI shows the correct layers and assemblies for the new model.

UI synchronization improvements:

  • In MultiLayer.qml and SurfactantLayer.qml, combo boxes for material and solvent selection now track their respective layer properties directly. This ensures that the correct selection is shown even if the assemblies or layers are refreshed without changing the list of materials or assembly names.
  • In ModelEditor.qml, the assembly type combo box now tracks the assembly's own type property, ensuring it stays in sync with the data model after a refresh.
  • In ModelSelector.qml, model name edits are now committed live as the user types, so other UI elements (like the model editor title) update immediately.

@rozyczko rozyczko added [scope] bug Bug report or fix (major.minor.PATCH) [priority] high Should be prioritized soon labels Sep 9, 2026
@rozyczko
rozyczko merged commit 653698c into develop Sep 11, 2026
16 checks passed
@rozyczko
rozyczko deleted the 407-visual-issues branch September 11, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[priority] high Should be prioritized soon [scope] bug Bug report or fix (major.minor.PATCH)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant