summaryrefslogtreecommitdiffstats
path: root/src/controls/Private/TabBar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Private/TabBar.qml')
-rw-r--r--src/controls/Private/TabBar.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controls/Private/TabBar.qml b/src/controls/Private/TabBar.qml
index bf76b9776..1186968dd 100644
--- a/src/controls/Private/TabBar.qml
+++ b/src/controls/Private/TabBar.qml
@@ -37,6 +37,7 @@
**
****************************************************************************/
+import QtQml 2.14 as Qml
import QtQuick 2.2
import QtQuick.Controls 1.2
import QtQuick.Controls.Private 1.0
@@ -170,11 +171,12 @@ FocusScope {
focus: true
enabled: modelData.enabled
- Binding {
+ Qml.Binding {
target: tabbar
when: selected
property: "__selectedTabRect"
value: Qt.rect(x, y, width, height)
+ restoreMode: Binding.RestoreBinding
}
drag.target: tabsMovable ? tabloader : null