diff --git a/lib-nested-core/src/editors/list/editor.rs b/lib-nested-core/src/editors/list/editor.rs index 575f6eb..92fa436 100644 --- a/lib-nested-core/src/editors/list/editor.rs +++ b/lib-nested-core/src/editors/list/editor.rs @@ -162,9 +162,9 @@ impl ListEditor { } pub fn get_data_port(&self) -> OuterViewPort> { - self.data.get_port().to_sequence().map( + self.data.get_port().to_list().map( |x| x.read().unwrap().clone() - ) + ).to_sequence() } /* pub fn get_data(&self) -> Arc> { @@ -186,7 +186,7 @@ impl ListEditor { } else { None } - } + } pub fn get_item_mut(&mut self) -> Option>>> { if let Some(idx) = self.cursor.get().idx {