MCPcopy Create free account
hub / github.com/VCVRack/Rack / onAction

Method onAction

src/app/MenuBar.cpp:736–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734 ui::TextField* passwordField;
735
736 void onAction(const ActionEvent& e) override {
737 std::string email = emailField->text;
738 std::string password = passwordField->text;
739 std::thread t([=] {
740 library::logIn(email, password);
741 library::checkUpdates();
742 });
743 t.detach();
744 e.unconsume();
745 }
746
747 void step() override {
748 text = string::translate("MenuBar.library.login");

Callers

nothing calls this directly

Calls 3

logInFunction · 0.85
checkUpdatesFunction · 0.85
unconsumeMethod · 0.80

Tested by

no test coverage detected