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

Method HandleUpdate

Goldleaf/source/ui/ui_SettingsLayout.cpp:106–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 void SettingsLayout::HandleUpdate(const std::string &fw_path_base, const SetSysFirmwareVersion &fw_ver) {
107 const auto option = g_MainApplication->DisplayDialog(cfg::Strings.GetString(360), cfg::Strings.GetString(361), { cfg::Strings.GetString(377), cfg::Strings.GetString(18)}, true);
108 if(option == 0) {
109 ExportUpdateToDirectory(fw_path_base, fw_ver);
110 }
111 }
112
113 void SettingsLayout::optsFirmware_DefaultKey() {
114 SetSysFirmwareVersion fw_ver = {};

Callers 1

Calls 1

DisplayDialogMethod · 0.80

Tested by

no test coverage detected