From 5460a9601ea8dd3d05e64e97040c71c6be29172b Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Thu, 9 Apr 2026 04:31:21 +0300 Subject: fix(tabs): keep default numeric labels auto-generated --- src/workspace.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/workspace.rs') diff --git a/src/workspace.rs b/src/workspace.rs index 02f971b0..447e6061 100644 --- a/src/workspace.rs +++ b/src/workspace.rs @@ -105,6 +105,10 @@ impl Tab { .unwrap_or_else(|| self.number.to_string()) } + pub fn is_auto_named(&self) -> bool { + self.custom_name.is_none() + } + pub fn set_custom_name(&mut self, name: String) { self.custom_name = Some(name); } -- cgit v1.2.3