From 86b68224c0ec6316bdbfc96a3c1af819f9565dc9 Mon Sep 17 00:00:00 2001 From: Efimov Vasily Date: Fri, 13 Apr 2018 18:20:30 +0300 Subject: [PATCH] GitDialog: add delay before completion popup showing This fixes buggy behavior of ?LineEdit widget input Signed-off-by: Efimov Vasily --- cola/widgets/completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cola/widgets/completion.py b/cola/widgets/completion.py index c4dd740a..b814f926 100644 --- a/cola/widgets/completion.py +++ b/cola/widgets/completion.py @@ -776,7 +776,7 @@ class GitDialog(QtWidgets.QDialog): dlg.lineedit.popup().show() dlg.lineedit.refresh() - QtCore.QTimer().singleShot(0, show_popup) + QtCore.QTimer().singleShot(100, show_popup) if dlg.exec_() == cls.Accepted: return dlg.text() -- 2.11.4.GIT