Fix missing actions in the command palette

Previously, the workspace view was on the stack when we were computing the
available actions, which excluded it. This is a stopgap. We should find a
better solution ASAP.
This commit is contained in:
Nathan Sobo
2023-04-21 15:59:29 -06:00
parent bce51c521a
commit e6604d1641
2 changed files with 15 additions and 6 deletions
+5
View File
@@ -444,6 +444,11 @@ impl<'a> WindowContext<'a> {
.map(|action_type| (action_type, depth)),
);
}
} else {
log::error!(
"view {} not found when computing available actions",
view_id
);
}
}