Skip to content

Commit a3937fc

Browse files
committed
oops
1 parent 326eabc commit a3937fc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/GUI/SetupRangeUI.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ bool SetupRangeUI::setup()
4848
trashSpr->setScale(0.75f);
4949

5050
auto trashBtn = Button::create(trashSpr, this, menu_selector(SetupRangeUI::onClear));
51-
auto trashMenu = CCMenu::create(trashBtn, nullptr);
51+
auto trashMenu = CCMenu::create();
52+
trashMenu->addChild(trashBtn);`
5253

5354
auto area = CCMenu::create();
5455

0 commit comments

Comments
 (0)