Fix login box tab shortcuts
This commit is contained in:
parent
3c79ffbf21
commit
ede99b310e
@ -7,6 +7,8 @@ import "../ShortcutBundles"
|
||||
TabBar {
|
||||
id: tabBar
|
||||
|
||||
property alias shortcutsEnabled: tabShortcuts.active
|
||||
|
||||
spacing: 0
|
||||
position: TabBar.Header
|
||||
|
||||
@ -20,6 +22,7 @@ TabBar {
|
||||
}
|
||||
|
||||
TabShortcuts {
|
||||
id: tabShortcuts
|
||||
container: tabBar
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,11 @@
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.12
|
||||
import QtQuick.Layouts 1.12
|
||||
import "../../Base"
|
||||
|
||||
HSwipeView {
|
||||
SwipeView {
|
||||
id: swipeView
|
||||
clip: true
|
||||
interactive: serverBrowser.acceptedUrl
|
||||
@ -38,6 +39,7 @@ HSwipeView {
|
||||
height: Math.min(implicitHeight, tabPage.availableHeight)
|
||||
|
||||
header: HTabBar {
|
||||
shortcutsEnabled: visible && tabPage.enabled
|
||||
visible:
|
||||
signInLoader.sourceComponent !== signInLoader.signInSso
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user