From 941e60aef506b1643973d8e91f3f9bae0f270988 Mon Sep 17 00:00:00 2001 From: Tom Schuster Date: Fri, 26 Jan 2024 22:39:06 +0100 Subject: [PATCH] web: Temporary disable display_file_save_dialog to prevent panics --- web/src/ui.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/src/ui.rs b/web/src/ui.rs index af42ddc94ef7..79f1cfe55aeb 100644 --- a/web/src/ui.rs +++ b/web/src/ui.rs @@ -315,9 +315,12 @@ impl UiBackend for WebUiBackend { fn display_file_save_dialog( &mut self, - file_name: String, - title: String, + _file_name: String, + _title: String, ) -> Option { + None + /* Temporary disabled while #14949 is being fixed + // Prevent opening multiple dialogs at the same time if self.dialog_open { return None; @@ -336,5 +339,6 @@ impl UiBackend for WebUiBackend { )); result })) + */ } }