diff --git a/src/widget/table/widget/standard.rs b/src/widget/table/widget/standard.rs index 72dd7c47..35762eea 100644 --- a/src/widget/table/widget/standard.rs +++ b/src/widget/table/widget/standard.rs @@ -265,7 +265,7 @@ where .. } = theme::active().cosmic().spacing; - let mut result = Self { + Self { model, element_padding: Padding::from(0), @@ -291,8 +291,6 @@ where on_category_mb_right: None, category_context_builder: Box::new(|_| None), } - - result } pub fn on_item_left_click(mut self, on_click: F) -> Self