mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-26 21:40:52 +01:00
Element info keys : replace all -(minus) by _(underscore)
This change will brake all information with -(minus) from projects created before this commit, but in the other side the use of data bases for QET will be more easily to understand by avoid to replace the -(minus) by _(underscore) in the tables of data bases. Sorry for that, it's for your good.
This commit is contained in:
@@ -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