diff --git a/lapce-app/src/window_tab.rs b/lapce-app/src/window_tab.rs index eef3c443..ed487a95 100644 --- a/lapce-app/src/window_tab.rs +++ b/lapce-app/src/window_tab.rs @@ -445,7 +445,7 @@ pub fn new( .map(|i| { let panel_order = db .get_panel_orders() - .unwrap_or_else(|_| i.panel.panels.clone()); + .unwrap_or_else(|_| default_panel_order()); PanelData { panels: cx.create_rw_signal(panel_order), styles: cx.create_rw_signal(i.panel.styles.clone()),