MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / SetLogLevel

Method SetLogLevel

Xaml/Pages/TrayFlyoutPage.cpp:103–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 void TrayFlyoutPage::SetLogLevel(const txmp::LogLevel &level)
104 {
105 for (const auto item : LogLevelSubMenu().Items())
106 {
107 if (const auto radioItem = item.try_as<muxc::RadioMenuFlyoutItem>())
108 {
109 if (radioItem.Tag().try_as<txmp::LogLevel>() == level)
110 {
111 radioItem.IsChecked(true);
112 }
113 }
114 }
115 }
116
117 void TrayFlyoutPage::SetDisableSavingSettings(const bool &disabled)
118 {

Callers 1

RefreshMenuMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected