diff --git a/gtk/src/components/app.rs b/gtk/src/components/app.rs index 2a510c0..4ae5271 100644 --- a/gtk/src/components/app.rs +++ b/gtk/src/components/app.rs @@ -80,6 +80,7 @@ impl StoryView { } pub fn detach(mut self) -> TreeView { + self.view.set_model(None::<&ListStore>); replace(&mut self.view, TreeView::new()) }