From eeaaa3635b40d6aaac3198fea44517fc26120a44 Mon Sep 17 00:00:00 2001 From: filipriec Date: Sun, 8 Jun 2025 10:53:46 +0200 Subject: [PATCH] crucial dialog reloading bug fixed for good(hardest bug had a single line of code fix) --- README.md | 5 +++++ client/src/state/app/state.rs | 1 + 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 19400a1..8238d9e 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,8 @@ Client with tracing: ``` ENABLE_TRACING=1 RUST_LOG=client=debug cargo watch -x 'run --package client -- client' ``` + +Client with debug that cant be traced +``` +cargo run --package client --features ui-debug -- client +``` diff --git a/client/src/state/app/state.rs b/client/src/state/app/state.rs index d727626..582c135 100644 --- a/client/src/state/app/state.rs +++ b/client/src/state/app/state.rs @@ -139,6 +139,7 @@ impl AppState { self.ui.dialog.dialog_active_button_index = 0; self.ui.dialog.purpose = None; self.ui.focus_outside_canvas = false; + self.ui.dialog.is_loading = false; } /// Sets the active button index, wrapping around if necessary.