| 104 | |
| 105 | |
| 106 | static bool promptClear(std::string text) { |
| 107 | if (APP->history->isSaved()) |
| 108 | return true; |
| 109 | if (APP->scene->rack->hasModules()) |
| 110 | return true; |
| 111 | return osdialog_message(OSDIALOG_INFO, OSDIALOG_OK_CANCEL, text.c_str()); |
| 112 | } |
| 113 | |
| 114 | |
| 115 | void Manager::save(std::string path) { |
no test coverage detected