Skip to content

Commit

Permalink
Fixed: When you save a new file, the panel will list children in the …
Browse files Browse the repository at this point in the history
…save directory's parent folder.
  • Loading branch information
subalterngames committed May 29, 2024
1 parent fd0c75f commit e547c9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Fixed: Cacophony can't found files (saves, soundfonts, etc.) if the file extension contains uppercase characters.
- Fixed: ChildPaths sometimes doesn't set the correct directory when moving up a directory.
- Fixed: It's possible to add notes while the music is playing.
- Fixed: When you save a new file, the panel will list files and folders in the save directory's parent folder.
- (Backend) Fixed clippy warnings for Rust 1.78
- (Backend) The GitHub workflow for building Cacophony now uses the latest version of Rust.
- (Backend) Added tests for ChildPaths.
Expand Down
3 changes: 0 additions & 3 deletions io/src/open_file_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ impl OpenFilePanel {
/// Enable the panel for setting the save path to be written to.
pub fn write_save(&mut self, state: &mut State, paths_state: &mut PathsState) {
self.enable_as_save(OpenFileType::WriteSave, state, paths_state);
paths_state
.children
.set(&paths_state.midis.directory.path, &Extension::Cac, None);
}

/// Enable a panel for setting the export path.
Expand Down

0 comments on commit e547c9d

Please sign in to comment.