Add 'Single click to open' settings toggle

This commit is contained in:
CaelusV 2024-12-07 23:01:14 +01:00
parent fac5a25a3f
commit 20e571efab
4 changed files with 35 additions and 0 deletions

View file

@ -209,6 +209,8 @@ pub struct TabConfig {
/// 24 hour clock; this is neither serialized nor deserialized because we use the user's global
/// preference rather than save it
pub military_time: bool,
/// Single click to open
pub single_click: bool,
}
impl Default for TabConfig {
@ -219,6 +221,7 @@ impl Default for TabConfig {
show_hidden: false,
icon_sizes: IconSizes::default(),
military_time: military_time_enabled(),
single_click: false,
}
}
}