diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-09-10 10:42:00 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-09-10 08:58:03 -0700 |
commit | fbd2160af249e260203c3f88db4da560cae26f75 (patch) | |
tree | 80da44049cd5c74cd4031143bc85c10456772d21 /translations | |
parent | bee2dea7ccfcabff512b0a2d487dcab768fab8d9 (diff) | |
download | subsurface-fbd2160af249e260203c3f88db4da560cae26f75.tar.gz |
desktop: make completion of equipment types substring search
User request: when entering a cylinder type, do a substring
search. For example, when entering "100" also find "AL100".
Currently, a starts-with search was used.
This is simply done by setting the "filterMode" of the
ComboBoxDelegate to "Qt::MatchContains".
Suggested-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'translations')
0 files changed, 0 insertions, 0 deletions