From c5c349380c5bffd62ca61a472c08021850d2db91 Mon Sep 17 00:00:00 2001 From: Dongdong Zhou Date: Wed, 7 Aug 2024 22:23:27 +0100 Subject: [PATCH] panel order default fix --- lapce-app/src/window_tab.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()),