QmlDesigner: Fix transient scrollbars in editor

Task-number: QDS-10731
Change-Id: I23f4fcabc4f39143b18918b76395489b07aed510
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
This commit is contained in:
Aleksei German
2023-09-21 15:51:43 +02:00
parent a4b1e1ccdc
commit 47ce3beecf
2 changed files with 6 additions and 6 deletions

View File

@@ -19,6 +19,7 @@
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/fancylineedit.h>
#include <utils/transientscroll.h>
#include <QAction>
@@ -34,6 +35,8 @@ BindingEditorWidget::BindingEditorWidget()
m_context->setContext(context);
Core::ICore::addContextObject(m_context);
Utils::TransientScrollAreaSupport::support(this);
/*
* We have to register our own active auto completion shortcut, because the original short cut will
* use the cursor position of the original editor in the editor manager.