Show PMSystem code in combobox near name.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-06-16 16:25:28 +03:00
parent 762b17c940
commit 9d9d2702ba

View File

@ -998,7 +998,7 @@ void InitPMSystems(QComboBox *systemCombo)
QMap<QString, QString> systems; QMap<QString, QString> systems;
for (int i = 0; i < listSystems.size()-1; ++i) for (int i = 0; i < listSystems.size()-1; ++i)
{ {
systems.insert(qApp->TrVars()->PMSystemName(listSystems.at(i)), listSystems.at(i)); systems.insert(qApp->TrVars()->PMSystemName(listSystems.at(i)) + " ("+listSystems.at(i)+")", listSystems.at(i));
} }
// * The default option (blank field or 'None') should appear at the top of the list. // * The default option (blank field or 'None') should appear at the top of the list.