Skip to content

Commit

Permalink
web: Temporary disable display_file_save_dialog to prevent panics
Browse files Browse the repository at this point in the history
  • Loading branch information
evilpie committed Jan 26, 2024
1 parent 4769a45 commit 941e60a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions web/src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<DialogResultFuture> {
None
/* Temporary disabled while #14949 is being fixed
// Prevent opening multiple dialogs at the same time
if self.dialog_open {
return None;
Expand All @@ -336,5 +339,6 @@ impl UiBackend for WebUiBackend {
));
result
}))
*/
}
}

0 comments on commit 941e60a

Please sign in to comment.