From fc0704c4e67b55ff71ffd1fd74afa1abcef5e8b7 Mon Sep 17 00:00:00 2001 From: FluffMe Date: Wed, 2 Oct 2024 14:00:31 +0200 Subject: [PATCH] Fix accidental erase of paper contents by spamming save action (#32598) Fix spammable paper save issue --- Content.Client/Paper/UI/PaperWindow.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Client/Paper/UI/PaperWindow.xaml.cs b/Content.Client/Paper/UI/PaperWindow.xaml.cs index 02c4ed64c3..3522aabc66 100644 --- a/Content.Client/Paper/UI/PaperWindow.xaml.cs +++ b/Content.Client/Paper/UI/PaperWindow.xaml.cs @@ -319,6 +319,8 @@ namespace Content.Client.Paper.UI private void RunOnSaved() { + // Prevent further saving while text processing still in + SaveButton.Disabled = true; OnSaved?.Invoke(Rope.Collapse(Input.TextRope)); }