From 7e7cff8c74c0ab5408eaa8d3a22a3d815af67341 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 8 Sep 2024 01:30:39 +0300 Subject: [PATCH] disable child-dependent actions by default --- src/app/browser.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/app/browser.cpp b/src/app/browser.cpp index f549ad6d..8786bdeb 100644 --- a/src/app/browser.cpp +++ b/src/app/browser.cpp @@ -75,6 +75,8 @@ Browser::Browser( { browserMain->tab_close(); } + )->set_enabled( + false ); add_action( @@ -83,6 +85,8 @@ Browser::Browser( { browserMain->tab_close_left(); } + )->set_enabled( + false ); add_action( @@ -91,6 +95,8 @@ Browser::Browser( { browserMain->tab_close_right(); } + )->set_enabled( + false ); add_action( @@ -99,6 +105,8 @@ Browser::Browser( { browserMain->tab_close_all(); } + )->set_enabled( + false ); // Tab page navigation actions @@ -108,6 +116,8 @@ Browser::Browser( { browserMain->tab_page_navigation_update(); } + )->set_enabled( + false ); add_action( @@ -116,6 +126,8 @@ Browser::Browser( { browserMain->tab_page_navigation_history_back(); } + )->set_enabled( + false ); add_action( @@ -124,5 +136,7 @@ Browser::Browser( { browserMain->tab_page_navigation_history_forward(); } + )->set_enabled( + false ); } \ No newline at end of file