Fix for #541 - use Model field to identify the Equation component#548
Fix for #541 - use Model field to identify the Equation component#548guitorri merged 1 commit intoQucs:release-0.0.19from
Conversation
in the Component Properties dialog. Previous usage of the Description did not work with translations and anyway the Description is not a unique identifier.
|
thanks for the seperate PR. we had a lengthy discussion already. let me summarize
mainly, putting Module here instead of Description is rearranging the deck chairs on the titanic. it does not work. if this approached worked, we would not talk about a fix, right? |
|
yes, we had a lengthy discussion already, but still seems to me not much relevant to this PR. My summary is:
Even shorter summary:
|
we don't need to remove Model entitirely just to get it right in one place. and that was not what i was proposing.
yes it does. how much refactoring have you done? |
nothing related to You seems to have a better way to solve #541, great, just make a PR. |
fixing
just backported the fix to #383. this PR also cleans up related problems. |
|
One more line to change during refactor... Merging as it fixes the issue in question. |
The Up/Down buttons in the Component Properties dialog for reordering the equations in the Equation component are now enabled looking at the component Model field and not at its textual description, so it works independently of the selected language for the GUI.
As said elsewhere, it certainly not future proof and there are currently a lot of other places where the component Model field is used to identify a particular component.