From a4b935962eea65ff06dd374addd162164c932203 Mon Sep 17 00:00:00 2001 From: clover caruso Date: Fri, 2 Oct 2026 22:14:22 -0700 Subject: [PATCH] fix: Notebook Properties names a notebook without a colour of its own Default Its Color box stood empty. Assisted-by: claude-opus-5.5 --- crates/snowbound/src/properties.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/snowbound/src/properties.rs b/crates/snowbound/src/properties.rs index de5a9e3aef14aef02fabafe7b179fb544ef098b4..6e377996278787528061c5e90b689cf2cddf718a 100644 --- a/crates/snowbound/src/properties.rs +++ b/crates/snowbound/src/properties.rs @@ -157,11 +157,12 @@ impl State { dim(ui, "hint", "Doesn’t change the notebook’s folder name"); } label(ui, "Color:"); + // A notebook without a colour of its own wears the app's. let shown = dialog.color.or(dialog.library.color()); let named = SECTION_COLORS .iter() .find(|(color, _)| Some(*color) == shown) - .map_or("", |(_, name)| name); + .map_or("Default", |(_, name)| name); let combo = ui.id("combo"); ui::shell::combo(ui, "combo", "Color", named, 160.0, colors(), true); let items: Vec = SECTION_COLORS -- 2.54.0