MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / webBrowser_DefaultKey

Method webBrowser_DefaultKey

Goldleaf/source/ui/ui_MainMenuLayout.cpp:92–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 void MainMenuLayout::webBrowser_DefaultKey() {
93 if(GetLaunchMode() == LaunchMode::Application) {
94 g_MainApplication->GetWebBrowserLayout()->Reload();
95 g_MainApplication->ShowLayout(g_MainApplication->GetWebBrowserLayout());
96 }
97 else {
98 g_MainApplication->ShowNotification(cfg::Strings.GetString(292));
99 }
100 }
101
102 void MainMenuLayout::account_DefaultKey() {
103 if(!acc::HasSelectedUser()) {

Callers

nothing calls this directly

Calls 4

GetLaunchModeFunction · 0.85
ShowLayoutMethod · 0.80
ShowNotificationMethod · 0.80
ReloadMethod · 0.45

Tested by

no test coverage detected