Amend 7feffb89: restore the meaning of the elements in the QComboBox.

The order is not user-friendly, but correct. Before this patch, the elements in the UI didn't correspond to the implemented behaviour. The problem is the order: the first element is always MathML, the second HTML, etc. I think we should rather use some `userData` in QComboBox items to decouple the order from the semantics.
This commit is contained in:
Thibaut Cuvelier 2024-10-29 04:31:41 +01:00
parent 5c17e07bd1
commit 73c19cae41

View File

@ -293,11 +293,6 @@
<string>MathML Core (default)</string> <string>MathML Core (default)</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>MathML 3</string>
</property>
</item>
<item> <item>
<property name="text"> <property name="text">
<string>HTML</string> <string>HTML</string>
@ -313,6 +308,11 @@
<string>LaTeX</string> <string>LaTeX</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>MathML 3</string>
</property>
</item>
</widget> </widget>
</item> </item>
<item> <item>