mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fixes #1404
This commit is contained in:
parent
45a1034edf
commit
5fc495a073
1 changed files with 1 additions and 8 deletions
|
@ -163,14 +163,7 @@ void ResizingTextEdit::keyPressEvent(QKeyEvent *event)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// (hemirt)
|
if (!event->text().isEmpty())
|
||||||
// this resets the selection in the completion list, it should probably only
|
|
||||||
// trigger on actual chat input (space, character) and not on every key
|
|
||||||
// input (pressing alt for example) (fourtf) fixed for shift+tab, there
|
|
||||||
// might be a better solution but nobody is gonna bother anyways
|
|
||||||
if (event->key() != Qt::Key_Shift && event->key() != Qt::Key_Control &&
|
|
||||||
event->key() != Qt::Key_Alt && event->key() != Qt::Key_Super_L &&
|
|
||||||
event->key() != Qt::Key_Super_R)
|
|
||||||
{
|
{
|
||||||
this->completionInProgress_ = false;
|
this->completionInProgress_ = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue