From beee67bf09419d5fcab4a34514f7ae0151245bd8 Mon Sep 17 00:00:00 2001 From: n00mkrad <61149547+n00mkrad@users.noreply.github.com> Date: Mon, 12 Jan 2026 20:51:41 +0100 Subject: [PATCH] Show error box instead of regular msg if Cancel reason was error --- CodeLegacy/Main/Interpolate.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CodeLegacy/Main/Interpolate.cs b/CodeLegacy/Main/Interpolate.cs index 3472602..f4fd1a6 100644 --- a/CodeLegacy/Main/Interpolate.cs +++ b/CodeLegacy/Main/Interpolate.cs @@ -305,7 +305,10 @@ namespace Flowframes Application.Exit(); if (!string.IsNullOrWhiteSpace(reason) && !noMsgBox) - UiUtils.ShowMessageBox($"Canceled:\n\n{reason}"); + { + bool err = reason.Lower().Contains("error"); + UiUtils.ShowMessageBox($"Canceled:\n\n{reason}", type: err ? UiUtils.MessageType.Error : UiUtils.MessageType.Message, monospace: err); + } } public static async Task Cleanup(bool ignoreKeepSetting = false, int retriesLeft = 3, bool isRetry = false)