mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
changed tag completition to case-insensitive
When completing tags, the case of the completion prefix should not matter. Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
80532a685a
commit
3302ee11c1
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
|
|||
completers.location = new QCompleter(LocationCompletionModel::instance(), ui.location);
|
||||
completers.suit = new QCompleter(SuitCompletionModel::instance(), ui.suit);
|
||||
completers.tags = new QCompleter(TagCompletionModel::instance(), ui.tagWidget);
|
||||
completers.tags->setCaseSensitivity(Qt::CaseInsensitive);
|
||||
ui.buddy->setCompleter(completers.buddy);
|
||||
ui.divemaster->setCompleter(completers.divemaster);
|
||||
ui.location->setCompleter(completers.location);
|
||||
|
|
Loading…
Add table
Reference in a new issue