aboutsummaryrefslogtreecommitdiff
path: root/src/client/shell/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/shell/config.rs')
-rw-r--r--src/client/shell/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/shell/config.rs b/src/client/shell/config.rs
index 222e027e..2d16b00f 100644
--- a/src/client/shell/config.rs
+++ b/src/client/shell/config.rs
@@ -63,7 +63,7 @@ impl ClientShellState {
remote_collapsed_groups,
};
if let Err(error) = preferences::store(path, preferences) {
- self.endpoint_error = Some(error);
+ self.set_endpoint_error(error);
outcome.repaint = true;
}
}
@@ -97,7 +97,7 @@ impl ClientShellState {
.config
.apply_snapshot_keybindings(profile.as_deref(), &commands)
{
- self.endpoint_error = Some(err);
+ self.set_endpoint_error(err);
}
}
}