summary refs log tree commit diff
path: root/src/TextInputWidget.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-11-13 18:15:35 +0100
committerGitHub <noreply@github.com>2020-11-13 18:15:35 +0100
commit4d9d049f2ab8fd02fd28e55043e68f49ba2817ff (patch)
treec1166b8f3515179e45bf827e9e71757c96637660 /src/TextInputWidget.cpp
parentMerge pull request #314 from MayeulC/smoothie-2 (diff)
parentclang-format (diff)
downloadnheko-4d9d049f2ab8fd02fd28e55043e68f49ba2817ff.tar.xz
Merge pull request #325 from trilene/webrtc-video
Make incoming call ringtone a user setting
Diffstat (limited to 'src/TextInputWidget.cpp')
-rw-r--r--src/TextInputWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TextInputWidget.cpp b/src/TextInputWidget.cpp

index f75358c8..454353fd 100644 --- a/src/TextInputWidget.cpp +++ b/src/TextInputWidget.cpp
@@ -453,8 +453,8 @@ FilteredTextEdit::completerRect() auto item_height = completer_->popup()->sizeHintForRow(0); auto max_height = item_height * completer_->maxVisibleItems(); auto height = (completer_->completionCount() > completer_->maxVisibleItems()) - ? max_height - : completer_->completionCount() * item_height; + ? max_height + : completer_->completionCount() * item_height; rect.setWidth(completer_->popup()->sizeHintForColumn(0)); rect.moveBottom(-height); return rect;