Skip to content

Commit

Permalink
Clear list on new check
Browse files Browse the repository at this point in the history
  • Loading branch information
mastfissh committed Apr 15, 2020
1 parent c4facbe commit 82ae9dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ impl AppDelegate<AppState> for Delegate {
}
START_DUPE => {
data.processing = true;
data.dupes = Arc::new(Vec::<String>::new());
let paths = data.paths.iter().map(|path| path.pathbuf.clone()).collect();
let options = Opt::from_paths(paths);
run_dupe_detect(self.eventsink.clone(), options);
Expand Down

0 comments on commit 82ae9dd

Please sign in to comment.