aboutsummaryrefslogtreecommitdiff
path: root/src/app/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/state.rs')
-rw-r--r--src/app/state.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/app/state.rs b/src/app/state.rs
index f7c4daa1..134d86bd 100644
--- a/src/app/state.rs
+++ b/src/app/state.rs
@@ -391,18 +391,13 @@ pub enum Mode {
KeybindHelp,
}
-#[derive(Debug, Clone, Copy, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
+#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
pub enum AgentPanelScope {
CurrentWorkspace,
+ #[default]
AllWorkspaces,
}
-impl Default for AgentPanelScope {
- fn default() -> Self {
- Self::AllWorkspaces
- }
-}
-
// ---------------------------------------------------------------------------
// Settings UI state
// ---------------------------------------------------------------------------