From 9d78abfba5056109c7f831e6e06eec2dc6f1e37e Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 24 Sep 2024 00:17:53 +0300 Subject: [PATCH] implement tab close action --- src/browser/main/tab/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/main/tab/mod.rs b/src/browser/main/tab/mod.rs index 8f100875..4558037b 100644 --- a/src/browser/main/tab/mod.rs +++ b/src/browser/main/tab/mod.rs @@ -55,7 +55,7 @@ impl Tab { } pub fn close(&self) { - todo!() + self.widget.remove_page(self.widget.current_page()); } /* @TODO