From fe2cf74a4225a69d25869376a51841fe5af8a78e Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 20 Aug 2024 16:25:53 +0300 Subject: [PATCH] add refresh action --- src/app/browser.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/app/browser.cpp b/src/app/browser.cpp index 1e5fb1a7..597ba463 100644 --- a/src/app/browser.cpp +++ b/src/app/browser.cpp @@ -93,6 +93,17 @@ Browser::Browser( ); } ); + + // Hidden + add_action( + "refresh", + [this] + { + header->set_title( + main->get_current_tab_label_text() + ); + } + ); } Browser::~Browser()