mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
Organize string-lists alphabetically for completion
This micro patch adds the ability to sort the lists alphabetically for user interaction. Dirk asked me to do this for location, but this actually changes for location, divemaster, buddy and suit. Seems a good thing for all. Fixes #780 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7ea27a2d88
commit
7e2f7747d6
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
list.append(buddy); \
|
||||
} \
|
||||
} \
|
||||
std::sort(list.begin(), list.end()); \
|
||||
setStringList(list); \
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue