Fix bug dropping selected disk info

We don't need to reset disk_index_dest to None since it would be reset
before it's used anyway
This commit is contained in:
2Shirt 2025-12-13 08:10:38 -08:00
parent e5f476f48d
commit 8a65313039
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -63,7 +63,6 @@ impl State {
}
pub fn reset_all(&mut self) {
self.disk_index_dest = None;
self.wim_file_index = None;
self.wim_image_index = None;
if let Ok(mut sources) = self.wim_sources.lock() {