Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bec_widgets/utils/property_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ def populate_countries():
continue
if terr_int < 0:
continue
text = QLocale.countryToString(QLocale.Country(terr_int))
text = QLocale.territoryToString(QLocale.Country(terr_int))
country_combo.addItem(text, terr_int)
cur_country = self._enum_int(loc.country())
cur_country = self._enum_int(loc.territory())
Comment thread
wyzula-jan marked this conversation as resolved.
idx = country_combo.findData(cur_country)
if idx >= 0:
country_combo.setCurrentIndex(idx)
Expand Down
Loading