From 271534e115e5915231c99df287bbfe396185924d Mon Sep 17 00:00:00 2001 From: Horu <73709188+HigherOrderLogic@users.noreply.github.com> Date: Sun, 17 Aug 2025 16:28:24 +1000 Subject: Add ConfigLoaded event to IPC, option to disable built-in notification (#1829) * feat: config reload ipc event * cleanups * Rename and move the new config option * rename to ConfigLoaded and emit at connection --------- Co-authored-by: Ivan Molodetskikh --- src/ui/config_error_notification.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ui') diff --git a/src/ui/config_error_notification.rs b/src/ui/config_error_notification.rs index 4e976633..20667172 100644 --- a/src/ui/config_error_notification.rs +++ b/src/ui/config_error_notification.rs @@ -78,6 +78,11 @@ impl ConfigErrorNotification { } pub fn show(&mut self) { + let c = self.config.borrow(); + if c.config_notification.disable_failed { + return; + } + if self.created_path.is_some() { self.created_path = None; self.buffers.borrow_mut().clear(); -- cgit