mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-05 05:19:59 +01:00
Revert "Element info keys : replace all -(minus) by _(underscore)"
This reverts commit fb7cc6fd3e.
This commit is contained in:
@@ -140,7 +140,7 @@ void DynamicTextFieldEditor::fillInfoComboBox()
|
||||
QString type = elementEditor()->elementScene()->elementType();
|
||||
|
||||
if(type.contains("report"))
|
||||
strl << "function" << "tension_protocol";
|
||||
strl << "function" << "tension-protocol";
|
||||
else
|
||||
strl = QETApp::elementInfoKeys();
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ void ElementPropertiesEditorWidget::updateTree()
|
||||
*/
|
||||
void ElementPropertiesEditorWidget::populateTree()
|
||||
{
|
||||
QStringList keys{"label", "plant", "comment", "description", "designation", "manufacturer", "manufacturer_reference", "supplier", "quantity", "unity", "machine_manufacturer_reference"};
|
||||
QStringList keys{"label", "plant", "comment", "description", "designation", "manufacturer", "manufacturer-reference", "supplier", "quantity", "unity", "machine-manufacturer-reference"};
|
||||
|
||||
for(const QString& key : keys)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user