From 195776d4b7d2fd7da98a83bdd41cd21b7cc572d2 Mon Sep 17 00:00:00 2001 From: nerix Date: Sat, 23 Aug 2025 12:08:29 +0200 Subject: [PATCH] fix: update input size on tab-completion (#6411) --- CHANGELOG.md | 1 + src/widgets/helper/ResizingTextEdit.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d14d0776..1597f368 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,7 @@ - Bugfix: Fixed command triggers showing as '/...' when the value is longer than the column width. (#6369) - Bugfix: Fixed a crash that could occur when making HTTP requests from a timeout handler. (#6375) - Bugfix: Fixed a setting description not filtering correctly on search. (#6389) +- Bugfix: Fixed the split input not updating its height upon tab-completion. (#6411) - Dev: Mini refactor of Split. (#6148) - Dev: Conan will no longer generate a `CMakeUserPresets.json` file. (#6117) - Dev: Pass `--force-openssl` when installing from CMake in Qt 6.8+. (#6129) diff --git a/src/widgets/helper/ResizingTextEdit.cpp b/src/widgets/helper/ResizingTextEdit.cpp index cb373e99..77a677d7 100644 --- a/src/widgets/helper/ResizingTextEdit.cpp +++ b/src/widgets/helper/ResizingTextEdit.cpp @@ -301,6 +301,7 @@ void ResizingTextEdit::insertCompletion(const QString &completion) prefixSize); tc.insertText(completion); this->setTextCursor(tc); + this->updateGeometry(); } bool ResizingTextEdit::canInsertFromMimeData(const QMimeData *source) const