Commit 10c26a1c authored by Kåre Särs's avatar Kåre Särs

Prevent search combo-completer from completing words with wrong case

parent 2c4687a2
......@@ -351,11 +351,13 @@ m_mainWindow (mainWin)
connect(m_ui.searchCombo, SIGNAL(customContextMenuRequested(QPoint)), this,
SLOT(searchContextMenu(QPoint)));
m_ui.searchCombo->completer()->setCompletionMode(QCompleter::PopupCompletion);
m_ui.searchCombo->completer()->setCaseSensitivity(Qt::CaseSensitive);
m_ui.searchCombo->setInsertPolicy(QComboBox::NoInsert);
m_ui.searchCombo->lineEdit()->setClearButtonEnabled(true);
m_ui.searchCombo->setMaxCount(25);
m_ui.replaceCombo->completer()->setCompletionMode(QCompleter::PopupCompletion);
m_ui.searchCombo->completer()->setCaseSensitivity(Qt::CaseSensitive);
m_ui.replaceCombo->setInsertPolicy(QComboBox::NoInsert);
m_ui.replaceCombo->lineEdit()->setClearButtonEnabled(true);
m_ui.replaceCombo->setMaxCount(25);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment