Skip to content

Commit

Permalink
chore: remove item existence check in triggerCurrentItem function
Browse files Browse the repository at this point in the history
  • Loading branch information
Nethius committed Jan 8, 2025
1 parent f8750e4 commit d49d951
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/ui/qml/Controls2/ListViewWithRadioButtonType.qml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ ListView {

function triggerCurrentItem() {
var item = root.itemAtIndex(selectedIndex)
if (item) {
item.selectable.clicked()
}
item.selectable.clicked()
}

delegate: ColumnLayout {
Expand Down

0 comments on commit d49d951

Please sign in to comment.