Skip to content

Commit

Permalink
TokenSelectorPanel tabs selection depending on set models fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
micieslak committed Sep 18, 2024
1 parent 13c42d3 commit a63ed71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/app/AppLayouts/Wallet/panels/TokenSelectorPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a63ed71

Please sign in to comment.