Skip to content

Commit

Permalink
somewhat fix folder choosing
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Oct 17, 2024
1 parent 893df93 commit 0f30abc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ fn load_images(
let flowbox_clone = Rc::clone(flowbox);
let (sender, receiver) = mpsc::channel::<(Texture, String)>();

while let Some(child) = flowbox.borrow().first_child() {
flowbox.borrow().remove(&child);
}

std::thread::spawn(move || {
let num_cores = num_cpus::get();
batch
Expand Down

0 comments on commit 0f30abc

Please sign in to comment.