From d5428c836d08b61cf681de754146a9f0488cb806 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Mon, 2 Jan 2023 16:14:19 +0100 Subject: [PATCH] Column title default from name. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 7033e55..3f46bb7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,7 +19,7 @@ impl Column { pub fn new(name: &str) -> Column { Column { name: String::from(name), - title: String::new(), + title: String::from(name), align: Align::Left, hidden: false, } -- 2.49.0