Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
676c9d76
Commit
676c9d76
authored
Dec 18, 2021
by
Volker Krause
Browse files
Sort country selector
parent
3f18d3ad
Pipeline
#111808
passed with stage
in 1 minute and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/app/StopPickerPage.qml
View file @
676c9d76
...
...
@@ -73,7 +73,7 @@ Kirigami.ScrollablePage {
}
}
}
return
[...
new
Set
(
countries
)].
sort
();
return
[...
new
Set
(
countries
)].
sort
(
(
lhs
,
rhs
)
=>
{
return
Country
.
fromAlpha2
(
lhs
).
name
.
localeCompare
(
Country
.
fromAlpha2
(
rhs
).
name
);
}
);
}
Layout.fillWidth
:
true
readonly
property
var
currentCountry
:
Country
.
fromAlpha2
(
currentValue
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment