Don't prompt to save unchanged files

This commit is contained in:
Conrad Irwin 2023-09-27 16:02:56 -06:00
parent ece4875973
commit 3573896fe0
3 changed files with 13 additions and 8 deletions

View file

@ -1419,7 +1419,7 @@ impl Workspace {
)
})?;
match answer.next().await {
Some(0) => save_intent = SaveIntent::Save,
Some(0) => save_intent = SaveIntent::SaveAll,
Some(1) => save_intent = SaveIntent::Skip,
_ => {}
}