diff --git a/README.md b/README.md index dfb6c6c..aae62e5 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Layout markers can be added by right clicking the cursor bar. - Improve UI - Selection -- Display errors on invalid input +- More feedback: display errors/warnings/infos - Control note volume ## License diff --git a/src/main.rs b/src/main.rs index 22c5d4e..5faa2be 100644 --- a/src/main.rs +++ b/src/main.rs @@ -174,6 +174,7 @@ impl AppDelegate for Delegate { if let Ok(project_string) = fs::read_to_string(file_info.path()) { if let Ok(project) = ron::from_str::(&project_string) { project.open(&mut data.editors); + data.save_path = Some(Rc::new(file_info.path().into())); ctx.submit_command(commands::REDRAW, Target::Global); } }