Skip to content

Commit d56061c

Browse files
authored
need an id for this (#1844)
* need an id for this * semi cologne * add the other 2 ids
1 parent 9aeb60f commit d56061c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

loader/src/loader/CustomGeodeSettings.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,20 +125,23 @@ class CopyButtonSettingNode : public SettingNodeV3 {
125125
auto folderBtn = CCMenuItemSpriteExtra::create(
126126
folderSpr, this, menu_selector(CopyButtonSettingNode::onOpenFolder)
127127
);
128+
folderBtn->setID("open-mods-folder-button");
128129
this->getButtonMenu()->addChild(folderBtn);
129130

130131
auto copySpr = createGeodeButton("Copy Mods List");
131132
copySpr->setScale(.5f);
132133
auto copyBtn = CCMenuItemSpriteExtra::create(
133134
copySpr, this, menu_selector(CopyButtonSettingNode::onCopy)
134135
);
136+
copyBtn->setID("copy-mods-list-button");
135137
this->getButtonMenu()->addChild(copyBtn);
136138

137139
auto installFromFileSpr = createGeodeButton("Install From File");
138140
installFromFileSpr->setScale(.5f);
139141
auto installFromFileBtn = CCMenuItemSpriteExtra::create(
140142
installFromFileSpr, this, menu_selector(CopyButtonSettingNode::onInstallFromFile)
141143
);
144+
installFromFileBtn->setID("install-from-file-button");
142145
this->getButtonMenu()->addChild(installFromFileBtn);
143146

144147
this->getButtonMenu()->setPosition(getContentSize() / 2);

0 commit comments

Comments
 (0)