Fix bug with WIM indexing (again)
This commit is contained in:
parent
02880340f8
commit
da38d3bff2
1 changed files with 4 additions and 4 deletions
|
|
@ -234,16 +234,16 @@ impl App {
|
|||
popup::Type::Info,
|
||||
String::from("Updating boot configuration"),
|
||||
))?;
|
||||
let wim_index = self
|
||||
let wim_file_index = self
|
||||
.state
|
||||
.wim_image_index
|
||||
.expect("Failed to get source WIM index");
|
||||
.wim_file_index
|
||||
.expect("Failed to get source WIM file index");
|
||||
let wim_sources = self
|
||||
.state
|
||||
.wim_sources
|
||||
.lock()
|
||||
.expect("Failed to get WIM Sources");
|
||||
let wim_file = wim_sources.get_file(wim_index);
|
||||
let wim_file = wim_sources.get_file(wim_file_index);
|
||||
|
||||
// Get System32 path
|
||||
let system32 = get_system32_path(&self.action_tx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue