mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 06:21:23 +00:00
fix: do not display files from removed dir
This commit is contained in:
@@ -96,6 +96,7 @@ impl SoundpadGui {
|
|||||||
&& current_dir == path
|
&& current_dir == path
|
||||||
{
|
{
|
||||||
self.app_state.current_dir = None;
|
self.app_state.current_dir = None;
|
||||||
|
self.app_state.files.clear();
|
||||||
}
|
}
|
||||||
self.config.dirs = self.app_state.dirs.clone();
|
self.config.dirs = self.app_state.dirs.clone();
|
||||||
self.config.save_to_file().ok();
|
self.config.save_to_file().ok();
|
||||||
|
|||||||
Reference in New Issue
Block a user