Match current selection event API in File Info

This commit is contained in:
yoriswind committed 2026-11-27 07:33:56 -08:00
1 parent dbac436803
commit ea5f6079c4
1 file changed
+1 -1
+1 -1
View File
@@ -265,7 +265,7 @@ impl StackDialog for FileInfoDialog {
}
});
for event in list.events {
if let CollectionEvent::Selection(SelectionChange::Set(keys)) = event
if let CollectionEvent::Selection { change: SelectionChange::Set(keys), .. } = event
&& let Some(category) = keys.iter().find_map(|key| CATEGORIES.iter().find(|category| category.key == key.as_str()))
&& category.key != selected
{