parent
f227a92cf1
commit
02baf36070
|
@ -31,7 +31,8 @@ StatusComboBox {
|
|||
|
||||
property string selectedChainName: ""
|
||||
property string selectedIconUrl: ""
|
||||
readonly property bool allSelected: root.enabledNetworks.count === root.allNetworks.count
|
||||
readonly property bool allSelected: (!!root.enabledNetworks && !!root.allNetworks) ? root.enabledNetworks.count === root.allNetworks.count :
|
||||
false
|
||||
|
||||
// Persist selection between selectPopupLoader reloads
|
||||
property var currentModel: layer1Networks
|
||||
|
|
|
@ -765,6 +765,7 @@ QtObject {
|
|||
}
|
||||
|
||||
function getColorForId(colorId) {
|
||||
if(colorId) {
|
||||
switch(colorId.toUpperCase()) {
|
||||
case Constants.walletAccountColors.primary.toUpperCase():
|
||||
return Theme.palette.customisationColors.blue
|
||||
|
@ -796,6 +797,7 @@ QtObject {
|
|||
return Theme.palette.customisationColors.blue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Leave this function at the bottom of the file as QT Creator messes up the code color after this
|
||||
function isPunct(c) {
|
||||
|
|
Loading…
Reference in New Issue