Fixed tab completion rarely completing the wrong word. (#4735)

* Fixed tab completion rarely completing the wrong word.

Fixes: #3101

* Use QSignalBlocker instead of janky bool, add comment about hidden logic

* copypasteo
This commit is contained in:
Mm2PL
2023-07-31 23:34:53 +02:00
committed by GitHub
parent 703847c9ba
commit 89323ffa1f
3 changed files with 28 additions and 4 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ private:
* `Tab` pressed again:
* - complete ["pog"] to "PogChamp"
*
* [other key] pressed - updating the input text:
* [other key] pressed or cursor moved - updating the input text:
* - set `completionInProgress_ = false`
*/
bool completionInProgress_ = false;