Move UpdateDestDisk to appropriate position
i.e. AFTER the clone tool is run
This commit is contained in:
parent
da6c7f16fb
commit
a89f75d490
1 changed files with 1 additions and 5 deletions
|
|
@ -352,7 +352,6 @@ impl App {
|
||||||
))?;
|
))?;
|
||||||
}
|
}
|
||||||
Mode::Clone => {
|
Mode::Clone => {
|
||||||
self.action_tx.send(Action::UpdateDestDisk)?;
|
|
||||||
self.action_tx.send(Action::Command(
|
self.action_tx.send(Action::Command(
|
||||||
String::from("Running Clone Tool"),
|
String::from("Running Clone Tool"),
|
||||||
self.config.clone_app_path.clone(),
|
self.config.clone_app_path.clone(),
|
||||||
|
|
@ -361,6 +360,7 @@ impl App {
|
||||||
}
|
}
|
||||||
Mode::PostClone => {
|
Mode::PostClone => {
|
||||||
// TODO: FIXME
|
// TODO: FIXME
|
||||||
|
self.action_tx.send(Action::UpdateDestDisk)?;
|
||||||
self.action_tx.send(Action::Diskpart(
|
self.action_tx.send(Action::Diskpart(
|
||||||
String::from("Creating boot files"),
|
String::from("Creating boot files"),
|
||||||
String::from("TODO: FIXME"),
|
String::from("TODO: FIXME"),
|
||||||
|
|
@ -378,10 +378,6 @@ impl App {
|
||||||
Action::UpdateDestDisk => {
|
Action::UpdateDestDisk => {
|
||||||
let disk_list_arc = Arc::clone(&self.disk_list);
|
let disk_list_arc = Arc::clone(&self.disk_list);
|
||||||
if let Some(dest_id_index) = self.disk_id_dest {
|
if let Some(dest_id_index) = self.disk_id_dest {
|
||||||
self.action_tx.send(Action::DisplayPopup(
|
|
||||||
popup::Type::Info,
|
|
||||||
String::from("Updating info for destination disk"),
|
|
||||||
))?;
|
|
||||||
self.task_handles
|
self.task_handles
|
||||||
.push(lazy_update_dest_disk(disk_list_arc, dest_id_index));
|
.push(lazy_update_dest_disk(disk_list_arc, dest_id_index));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue