Skip to content

Commit

Permalink
PageDebugVeQItems: simplify item text binding
Browse files Browse the repository at this point in the history
  • Loading branch information
blammit committed Feb 21, 2025
1 parent a107dca commit 4e61bd8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pages/settings/debug/PageDebugVeQItems.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@ Page {

delegate: ListNavigation {
text: model.id
secondaryText: {
if (interactive) {
return ""
}
return model.value !== undefined ? model.value : "--"
}

secondaryText: interactive ? "" : (model.value ?? "--")
interactive: subModel.rowCount > 0

onClicked: {
Expand Down

0 comments on commit 4e61bd8

Please sign in to comment.