fix: do not display files from removed dir

This commit is contained in:
2025-12-16 21:03:37 +03:00
parent f84cc03a6c
commit bc9f086245
+1
View File
@@ -96,6 +96,7 @@ impl SoundpadGui {
&& current_dir == path
{
self.app_state.current_dir = None;
self.app_state.files.clear();
}
self.config.dirs = self.app_state.dirs.clone();
self.config.save_to_file().ok();