From 38659b45ca593d02f770a3c55f1e4491a63b98d3 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 19 Sep 2024 01:47:45 +0300 Subject: [PATCH] use link --- src/app/browser/main/tab.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/browser/main/tab.rs b/src/app/browser/main/tab.rs index 6d2e6b96..d1593408 100644 --- a/src/app/browser/main/tab.rs +++ b/src/app/browser/main/tab.rs @@ -15,7 +15,7 @@ pub fn new() -> Notebook // Add test tab @TODO restore from session append( - tab.clone(), + &tab, true ); @@ -23,7 +23,7 @@ pub fn new() -> Notebook } pub fn append( - tab: Notebook, + tab: &Notebook, current: bool ) -> u32 {