From 56deeeb81d9ed9e535cb0f9a74f355eaed6281ec Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 10 Mar 2011 15:03:17 +0000 Subject: Make combobox activate completer upon item adding (in edit mode). --- client/widgets/combobox.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/widgets/combobox.cc b/client/widgets/combobox.cc index 5eb9b9e..c06e145 100644 --- a/client/widgets/combobox.cc +++ b/client/widgets/combobox.cc @@ -246,6 +246,9 @@ void ComboBox::addItem(QString item) { ignoreChangeEvents = true; combobox->addItem(item, item); + if(combotype == EDIT) { + combobox->completer()->complete(); + } ignoreChangeEvents = false; } -- cgit v1.2.3