From 248d8b5e97c36817699568a8c44595b8497325d4 Mon Sep 17 00:00:00 2001 From: David Montero Crespo Date: Tue, 28 Jul 2026 20:01:39 +0200 Subject: [PATCH] =?UTF-8?q?fix(toolbar):=20Run=20stays=20enabled=20on=20ru?= =?UTF-8?q?nning=20QEMU-Linux=20boards=20=E2=80=94=20re-run=20without=20re?= =?UTF-8?q?boot=20was=20unreachable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/editor/EditorToolbar.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/editor/EditorToolbar.tsx b/frontend/src/components/editor/EditorToolbar.tsx index e0749c9a..d22eb70b 100644 --- a/frontend/src/components/editor/EditorToolbar.tsx +++ b/frontend/src/components/editor/EditorToolbar.tsx @@ -1478,7 +1478,13 @@ export const EditorToolbar = ({ ? digitalRunning || verifying : isMultiBoard ? compileAllRunning || anyBoardRunning || verifying - : running || compiling || verifying || !activeBoard + : // QEMU-Linux boards keep Run enabled while running: + // on a booted guest it re-uploads the edited files + // and re-runs the script without the ~45 s reboot. + (running && !isPiBoardKind(activeBoard?.boardKind ?? '')) || + compiling || + verifying || + !activeBoard } className="tb-btn tb-btn-run" title={