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

Function loadTemplateDialog

src/CardinalCommon.cpp:1080–1087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1078
1079
1080void loadTemplateDialog(const bool factory)
1081{
1082#ifndef HEADLESS_BEHAVIOUR
1083 promptClear("The current patch is unsaved. Clear it and start a new patch?", [factory]() {
1084 loadTemplate(factory);
1085 });
1086#endif
1087}
1088
1089void revertDialog()
1090{

Callers

nothing calls this directly

Calls 2

promptClearFunction · 0.70
loadTemplateFunction · 0.70

Tested by

no test coverage detected