| 699 | } |
| 700 | |
| 701 | bool ModuleWidget::hasTemplate() { |
| 702 | std::string presetDir = model->getUserPresetDirectory(); |
| 703 | std::string templatePath = system::join(presetDir, "template.vcvm"); |
| 704 | return system::exists(templatePath);; |
| 705 | } |
| 706 | |
| 707 | void ModuleWidget::clearTemplate() { |
| 708 | std::string presetDir = model->getUserPresetDirectory(); |
no test coverage detected