Skip to content

Fix Material Stream Editability and Simulation Input Handlin - #152

Merged
Koyandechirag merged 2 commits into
FOSSEE:masterfrom
Koyandechirag:test/pr149-pr150-pr151
Nov 17, 2026
Merged

Koyandechirag merged 2 commits into
FOSSEE:masterfrom
Koyandechirag:test/pr149-pr150-pr151

Conversation

@Koyandechirag

Copy link
Copy Markdown
Collaborator

Summary

This PR includes improvements to component editability, simulation input handling, and Properties Window behaviour.

Changes Made

  • Updated Material Stream editability based on simulation status and incoming connections.
  • Ensured connected Material Streams remain editable before successful simulation.
  • Made connected Material Streams read-only after successful simulation.
  • Restored editability when connections or upstream components are deleted.
  • Kept the Composition Basis control enabled when input fields become read-only.
  • Improved handling of None values in component input parameters.
  • Added fallback handling for missing mode values in Modelica equations.
  • Improved Properties Window sizing and added safe resizeDocks() handling.
  • Updated component editability tests to cover the revised behaviour.

Testing

  • Full test suite executed successfully.
  • 542 tests passed.
  • 31 subtests passed.
  • No test failures.

@Koyandechirag
Koyandechirag merged commit 1184c4b into FOSSEE:master Nov 17, 2026
1 check passed
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.

1 participant