Skip to content

Commit

Permalink
Run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
fluxxcode committed Jun 3, 2024
1 parent 0fb5373 commit ebf5625
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/file_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ impl FileDialog {
}

if mode == DialogMode::SaveFile {
self.file_name_input.clone_from(&self.config.default_file_name);
self.file_name_input
.clone_from(&self.config.default_file_name);
}

// Select the default file filter
Expand All @@ -310,7 +311,7 @@ impl FileDialog {

self.window_id = match self.config.id {
Some(id) => id,
None => egui::Id::new(self.get_window_title())
None => egui::Id::new(self.get_window_title()),
};

self.load_directory(&self.gen_initial_directory(&self.config.initial_directory))
Expand Down

0 comments on commit ebf5625

Please sign in to comment.