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

Method clearTemplateDialog

src/app/ModuleWidget.cpp:713–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

711}
712
713void ModuleWidget::clearTemplateDialog() {
714 std::string message = string::f(string::translate("ModuleWidget.clearTemplateDialog"), model->getFullName());
715 if (!osdialog_message(OSDIALOG_INFO, OSDIALOG_OK_CANCEL, message.c_str()))
716 return;
717 clearTemplate();
718}
719
720void ModuleWidget::saveDialog() {
721 std::string presetDir = model->getUserPresetDirectory();

Callers 1

createContextMenuMethod · 0.80

Calls 3

translateFunction · 0.85
fFunction · 0.50
getFullNameMethod · 0.45

Tested by

no test coverage detected