* Open the window for saving a preset. * @param initial_text Initial text to display in the edit box, or \c nullptr. */
| 2119 | * @param initial_text Initial text to display in the edit box, or \c nullptr. |
| 2120 | */ |
| 2121 | static void ShowSavePresetWindow(std::string_view initial_text) |
| 2122 | { |
| 2123 | CloseWindowByClass(WC_SAVE_PRESET); |
| 2124 | new SavePresetWindow(initial_text); |
| 2125 | } |
| 2126 | |
| 2127 | /** Widgets for the progress window. */ |
| 2128 | static constexpr std::initializer_list<NWidgetPart> _nested_scan_progress_widgets = { |
no test coverage detected