TokenSelectorPanel tabs selection depending on set models fixed
This commit is contained in:
parent
25164cc45a
commit
6a935d098c
|
@ -49,9 +49,9 @@ Control {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
visible: !!root.assetsModel && !!root.collectiblesModel
|
visible: !!root.assetsModel && !!root.collectiblesModel
|
||||||
|
|
||||||
currentIndex: !!root.assetsModel
|
currentIndex: !!root.collectiblesModel && !root.assetsModel
|
||||||
? TokenSelectorPanel.Tabs.Assets
|
? TokenSelectorPanel.Tabs.Collectibles
|
||||||
: TokenSelectorPanel.Tabs.Collectibles
|
: TokenSelectorPanel.Tabs.Assets
|
||||||
|
|
||||||
StatusTabButton {
|
StatusTabButton {
|
||||||
objectName: "assetsTab"
|
objectName: "assetsTab"
|
||||||
|
|
Loading…
Reference in New Issue