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
@ -15,6 +15,7 @@
|
||||
list.append(buddy); \
|
||||
} \
|
||||
} \
|
||||
std::sort(list.begin(), list.end()); \
|
||||
setStringList(list); \
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user