From 8961dd35a581270f22e4431a6d665002e0d9d30d 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)); } -- 2.51.2