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

Method setUpdate

src/app/MenuBar.cpp:787–796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785 std::string slug;
786
787 void setUpdate(const std::string& slug) {
788 this->slug = slug;
789
790 auto it = library::updateInfos.find(slug);
791 if (it == library::updateInfos.end())
792 return;
793 library::UpdateInfo update = it->second;
794
795 text = update.name;
796 }
797
798 ui::Menu* createChildMenu() override {
799 auto it = library::updateInfos.find(slug);

Callers 1

refreshMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected