| 727 | } |
| 728 | |
| 729 | bool ModuleWidget::hasTemplate() { |
| 730 | std::string presetDir = model->getUserPresetDirectory(); |
| 731 | std::string templatePath = system::join(presetDir, "template.vcvm"); |
| 732 | return system::exists(templatePath);; |
| 733 | } |
| 734 | |
| 735 | void ModuleWidget::clearTemplate() { |
| 736 | std::string presetDir = model->getUserPresetDirectory(); |
no test coverage detected