| 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); |