update for PIP3

This commit is contained in:
Бычков Андрей
2022-07-29 16:50:38 +03:00
parent 4d9029babe
commit 7a16d76753
6 changed files with 6 additions and 8 deletions

View File

@@ -63,8 +63,8 @@ PIVector<int> enumValues(const PIString & e, const PIMap<PIString, CDSection> &
PIVector<int> ret;
enames.clear();
if (sections.contains(e)) {
ret = sections[e].indexes();
enames = sections[e].index_names();
ret = sections.at(e).indexes();
enames = sections.at(e).index_names();
} else {
int v = e.toInt();
if (v < 2) return ret;