diff --git a/src/menu_item.cpp b/src/menu_item.cpp index 9f45f16..bf40453 100644 --- a/src/menu_item.cpp +++ b/src/menu_item.cpp @@ -256,6 +256,9 @@ MenuItemRoot::MenuItemRoot(const std::vector> &suites child->parent = this; submenu.push_back(child); } +#ifdef DISABLE_AUTORUN + submenu.push_back(std::make_shared(on_run_all, "! Run all and exit", width, height)); +#endif // DISABLE_AUTORUN start_time = std::chrono::high_resolution_clock::now(); }