diff --git a/Yafc/Windows/WelcomeScreen.cs b/Yafc/Windows/WelcomeScreen.cs index fb815834..1b4151dd 100644 --- a/Yafc/Windows/WelcomeScreen.cs +++ b/Yafc/Windows/WelcomeScreen.cs @@ -115,9 +115,14 @@ protected override void BuildContents(ImGui gui) { ShowDropDown(gui, gui.lastRect, ProjectErrorMoreInfo, new Padding(0.5f), 30f); } } - if (gui.BuildButton("Back")) { - errorMessage = null; - Rebuild(); + using (gui.EnterRow()) { + if (gui.BuildButton("Copy to clipboard", SchemeColor.Grey)) { + SDL.SDL_SetClipboardText(errorMessage); + } + if (gui.RemainingRow().BuildButton("Back")) { + errorMessage = null; + Rebuild(); + } } } else { diff --git a/changelog.txt b/changelog.txt index f64a1fc8..0468f000 100644 --- a/changelog.txt +++ b/changelog.txt @@ -15,6 +15,7 @@ Version x.y.z Date: Features: - Provide hints that contol+clicking can add recipes, or to explain how to change things so it can. + - Add "Copy to Clipboard" button for data loading errors Bugfixes: - Fix regression in fluid variant selection when adding recipes. ----------------------------------------------------------------------------------------------------------------------