MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / onAction

Method onAction

src/CardinalUI.cpp:147–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 struct JoinDiscussionButton : Button {
146 WasmWelcomeDialog* dialog;
147 void onAction(const ActionEvent& e) override {
148 patchUtils::openBrowser("https://github.com/DISTRHO/Cardinal/issues/287");
149 dialog->getParent()->requestDelete();
150 }
151 };
152 JoinDiscussionButton* const discussionButton = new JoinDiscussionButton;
153 discussionButton->box.size.x = buttonWidth;

Callers

nothing calls this directly

Calls 3

requestDeleteMethod · 0.80
getParentMethod · 0.80
openBrowserFunction · 0.70

Tested by

no test coverage detected