Merge remote-tracking branch 'origin/main' into merge-test/main-into-constraints

# Conflicts:
#	src/app/command_driver.rs
#	src/command.rs
#	src/ui/ribbon/mod.rs
#	src/ui/window/options.rs
This commit is contained in:
Felix Riestra committed 2026-09-10 23:34:50 +02:00
commit ad718def3f
124 files changed
+9866 -692

No files matched your search

+9
View File
@@ -475,7 +475,16 @@ impl AppConfig {
/// Persist the config as JSON. Best-effort; silent on unavailable or
/// read-only storage.
///
/// Does nothing under `cfg(test)`. The path is the developer's own
/// settings file, and the suite builds whole applications and changes
/// preferences on them — without this, running `cargo test` rewrites the
/// settings of whoever ran it.
pub fn save(&self) {
if cfg!(test) {
return;
}
#[cfg(not(target_arch = "wasm32"))]
{
let Some(path) = config_path() else { return };