Change name of new scratch docs to 'Untitled-N'

This commit is contained in:
Philip Daniels 2022-05-25 10:36:26 +01:00
parent 50e3623f24
commit b00b9286b8
1 changed files with 1 additions and 1 deletions

View File

@ -2250,7 +2250,7 @@ fn get_name_for_new_file(&self) -> String {
let mut i = 0;
loop {
i += 1;
let potential_name = format!("new {}", i);
let potential_name = format!("Untitled-{}", i);
// Checking just the current scratch_docs rather than all the different document
// collections seems to be the right thing to do. The user may have genuine 'new N'