diff --git a/trogon/trogon.py b/trogon/trogon.py index e36eb51..e02bbd1 100644 --- a/trogon/trogon.py +++ b/trogon/trogon.py @@ -270,8 +270,8 @@ def action_focus_command_tree(self) -> None: command_tree.focus() def action_show_command_info(self) -> None: - command_builder = self.query_one(CommandBuilder) - self.push_screen(CommandInfo(command_builder.selected_command_schema)) + command_form = self.query_one(CommandForm) + self.push_screen(CommandInfo(command_form.command_schema)) def action_visit(self, url: str) -> None: """Visit the given URL, via the operating system.