DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
Convert Text to Table: a tableStyle that isn't a name goes to the command as it is
moppeeerfd02125c68bb
diff --git a/crates/ui-egui/src/dialogs.rs b/crates/ui-egui/src/dialogs.rsindex 50b403358..46915dce9 100644--- a/crates/ui-egui/src/dialogs.rs+++ b/crates/ui-egui/src/dialogs.rs@@ -3392,7 +3392,7 @@ pub fn confirm(app: &mut DesignApp) -> Result<Value, String> {"convertTextToTable" | "convertTableToText" => {let r = if d.id == "convertTextToTable" {let same = same_separators(&d);- let style = table_style_field(&d).filter(|s| s != designcraft_doc::BASIC_TABLE);+ let style = table_style_value(&d);app.run("table.convertFromText",json!({"columnSeparator": d.s("columnSeparator"), "rowSeparator": d.s("rowSeparator"),