Fix selection in operation list

This commit is contained in:
Hanno Braun 2024-12-11 21:17:20 +01:00
parent 5a81970418
commit 915b0155f9

View File

@ -56,7 +56,7 @@ impl OperationView {
}
fn last_index(&self) -> usize {
self.operations().count().saturating_sub(1)
self.children.len().saturating_sub(1)
}
}