| 1078 | |
| 1079 | |
| 1080 | void 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 | |
| 1089 | void revertDialog() |
| 1090 | { |
nothing calls this directly
no test coverage detected