fixed highlighting for items without icon
This commit is contained in:
parent
debb8a56ff
commit
67affd0db4
1 changed files with 2 additions and 2 deletions
|
@ -51,9 +51,9 @@ ListItemBlank {
|
|||
|
||||
hoveredStateColor: ui.theme.accentColor
|
||||
pressedStateColor: ui.theme.accentColor
|
||||
enabled: (Boolean(modelData) && modelData.enabled !== undefined ) ? Boolean(modelData.enabled) : true // default true
|
||||
enabled: (Boolean(modelData) && modelData.enabled !== undefined) ? Boolean(modelData.enabled) : true // default true
|
||||
|
||||
isSelected: Boolean(prv.showedSubMenu) || (prv.hasIcon && prv.isSelectable && prv.isSelected)
|
||||
isSelected: Boolean(prv.showedSubMenu) || (prv.isSelectable && prv.isSelected)
|
||||
|
||||
navigation.onActiveChanged: {
|
||||
if (prv.hasSubMenu) {
|
||||
|
|
Loading…
Reference in a new issue