diff --git a/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml b/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml index c67be4d5e..e39e1eb79 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml +++ b/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml @@ -132,6 +132,10 @@ Item { break } } + + if (root.children[oldIndex]) { + root.children[oldIndex].clicked(); + } } function goPreviousTab() { @@ -153,6 +157,10 @@ Item { break } } + + if (root.children[oldIndex]) { + root.children[oldIndex].clicked(); + } } function currentButtonIndex() {