From 28b75c25100ce9de48619f6f19af48d5f7ef133c Mon Sep 17 00:00:00 2001 From: Sour Date: Fri, 8 Nov 2024 15:45:32 +0900 Subject: [PATCH] UI: Fixed crashes that could occur when using undo after typing in a text box --- UI/App.axaml | 2 ++ UI/Controls/PathSelector.axaml | 2 +- UI/Debugger/Views/QuickSearchView.axaml | 2 +- .../Windows/BreakpointEditWindow.axaml | 2 +- UI/Debugger/Windows/CommentEditWindow.axaml | 2 +- .../Windows/FindAllOccurrencesWindow.axaml | 2 +- UI/Debugger/Windows/GoToAllWindow.axaml | 2 +- UI/Debugger/Windows/GoToWindow.axaml | 2 +- UI/Debugger/Windows/LabelEditWindow.axaml | 4 +-- .../Windows/MemoryViewerFindWindow.axaml | 2 +- UI/Debugger/Windows/TraceLoggerWindow.axaml | 20 +++++++++++-- UI/Styles/DebugStatusStyles.xaml | 2 ++ UI/Utilities/NullTextConverter.cs | 30 +++++++++++++++++++ UI/Windows/CheatDatabaseWindow.axaml | 2 +- UI/Windows/CheatEditWindow.axaml | 4 +-- UI/Windows/InputBarcodeWindow.axaml | 2 +- UI/Windows/MovieRecordWindow.axaml | 4 +-- UI/Windows/NetplayConnectWindow.axaml | 6 ++-- UI/Windows/NetplayStartServerWindow.axaml | 4 +-- UI/Windows/SelectRomWindow.axaml | 2 +- 20 files changed, 73 insertions(+), 25 deletions(-) create mode 100644 UI/Utilities/NullTextConverter.cs diff --git a/UI/App.axaml b/UI/App.axaml index 0241206f..8e02f3e9 100644 --- a/UI/App.axaml +++ b/UI/App.axaml @@ -31,6 +31,8 @@ + + diff --git a/UI/Controls/PathSelector.axaml b/UI/Controls/PathSelector.axaml index 7103e8d6..42b43a2a 100644 --- a/UI/Controls/PathSelector.axaml +++ b/UI/Controls/PathSelector.axaml @@ -17,7 +17,7 @@ />