forked from qt-creator/qt-creator
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user