mirror of https://github.com/lapce/lapce.git
panel order default fix
This commit is contained in:
parent
8fc6fd59ae
commit
c5c349380c
|
@ -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()),
|
||||
|
|
Loading…
Reference in New Issue