From f9e263be5058f981e44d1dc8c161d69d46badad6 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 07:55:21 +0200 Subject: [PATCH] Enhance status message for volume settings edit --- src/app/App.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index afb40d51..c15fc5e9 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -6304,8 +6304,10 @@ export function App({ store, initialStatusMessage }: AppProps) { label: string, successMessage: string ) => { - if (selectedBrush === null) { - setStatusMessage("Select a whitebox box before editing volume settings."); + if (selectedBrush === null || selectedBrush.kind !== "box") { + setStatusMessage( + "Select a whitebox box before editing box volume settings." + ); return; }