Truly independent web browser
UI/Qt: Focus the web view when the reload action is triggered
Andreas Klingd06048c99f59
diff --git a/UI/Qt/Menu.cpp b/UI/Qt/Menu.cppindex 990775b201e..066f6a8a8e9 100644--- a/UI/Qt/Menu.cpp+++ b/UI/Qt/Menu.cpp@@ -111,7 +111,7 @@ private:action->set_checked(checked);action->activate();- if (action->id() == WebView::ActionID::BookmarkItem) {+ if (first_is_one_of(action->id(), WebView::ActionID::BookmarkItem, WebView::ActionID::Reload)) {if (auto* active_tab = Application::the().active_tab())active_tab->view().setFocus();}