aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Brauch <svenbrauch@googlemail.com>2014-01-20 00:29:16 (GMT)
committerSven Brauch <svenbrauch@googlemail.com>2014-01-20 00:29:27 (GMT)
commitcb90c51a152f93e84e914d3e0754a9ac4b5cc22d (patch)
tree1dfee6bab19baea48e2feebd6a2133990f9bad03
parent98c6e9fd68966278e411a7891a04b5bc0b76fc0b (diff)
Emit layoutChanged when the completion model filter changes
Otherwise, the widget sometimes does not get resized when the amount of items changes below the threshold of what fits into the box. I hope this doesn't break Kevin's recent work, but I think it should be okay. CCMAIL:krf@gmx.de
-rw-r--r--part/completion/katecompletionmodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/part/completion/katecompletionmodel.cpp b/part/completion/katecompletionmodel.cpp
index 22af495..fd22387 100644
--- a/part/completion/katecompletionmodel.cpp
+++ b/part/completion/katecompletionmodel.cpp
@@ -955,6 +955,8 @@ void KateCompletionModel::setCurrentCompletion( KTextEditor::CodeCompletionModel
}
clearExpanding(); //We need to do this, or be aware of expanding-widgets while filtering.
+
+ emit layoutChanged();
}
QString KateCompletionModel::commonPrefixInternal(const QString &forcePrefix) const