TokenSelectorPanel tabs selection depending on set models fixed

This commit is contained in:
Michał Cieślak 2024-09-18 16:10:04 +02:00 committed by Michał
parent 25164cc45a
commit 6a935d098c
1 changed files with 3 additions and 3 deletions

View File

@ -49,9 +49,9 @@ Control {
Layout.fillWidth: true
visible: !!root.assetsModel && !!root.collectiblesModel
currentIndex: !!root.assetsModel
? TokenSelectorPanel.Tabs.Assets
: TokenSelectorPanel.Tabs.Collectibles
currentIndex: !!root.collectiblesModel && !root.assetsModel
? TokenSelectorPanel.Tabs.Collectibles
: TokenSelectorPanel.Tabs.Assets
StatusTabButton {
objectName: "assetsTab"