aboutsummaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/config_error_notification.rs5
1 files changed, 5 insertions, 0 deletions
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();