mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-10 02:59:58 +02:00
Nomenclature model don't save header data "display role"
The model doesn't save anymore the header data with role Qt::displayRole. The header display role is now generated in the fly, by concequent the header displayed texts are always in the current local
This commit is contained in:
@@ -61,7 +61,7 @@ class NomenclatureModel : public QAbstractTableModel
|
||||
QPointer<QETProject> m_project;
|
||||
QString m_query;
|
||||
QVector<QStringList> m_record;
|
||||
QHash<int, QHash<int, QVariant>> m_header_data;
|
||||
QHash<int, QHash<int, QVariant>> m_header_data; //First int = section, second int = Qt::role, QVariant = value
|
||||
QHash<int, QVariant> m_index_0_0_data;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user