From d9b4983d4f666bebf2b2069e117f64f484dbc164 Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 13 Aug 2024 08:01:07 +0300 Subject: [PATCH] emit tab close signal on double click --- src/app/browser/main/tab/label.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/browser/main/tab/label.cpp b/src/app/browser/main/tab/label.cpp index 34b6e26f..769c2a1c 100644 --- a/src/app/browser/main/tab/label.cpp +++ b/src/app/browser/main/tab/label.cpp @@ -37,8 +37,8 @@ void Label::on_click( ) { if (n == 2) // double click { - //Tab::close( - // -1 // active - //); + activate_action( + "win.tab_close" + ); } }