feat(io): add user-approved recovery
This commit is contained in:
parent
25515fa33c
commit
9e90e50662
25 changed files with 2723 additions and 198 deletions
|
|
@ -550,12 +550,24 @@ impl OpenCADStudio {
|
|||
self.command_line
|
||||
.push_output(crate::tf!("XREF Reloaded \"{}\"", info.name).as_ref());
|
||||
}
|
||||
crate::io::xref::XrefStatus::Recovered => {
|
||||
self.command_line.push_error(crate::tf!(
|
||||
"XREF Reloaded with repairs: \"{}\"",
|
||||
info.name
|
||||
).as_ref());
|
||||
}
|
||||
crate::io::xref::XrefStatus::NotFound => {
|
||||
self.command_line.push_error(crate::tf!(
|
||||
"XREF Not found: \"{}\" ({})",
|
||||
info.name, info.path
|
||||
).as_ref());
|
||||
}
|
||||
crate::io::xref::XrefStatus::Failed => {
|
||||
self.command_line.push_error(crate::tf!(
|
||||
"XREF Reload failed: \"{}\" ({})",
|
||||
info.name, info.path
|
||||
).as_ref());
|
||||
}
|
||||
crate::io::xref::XrefStatus::Unloaded => {
|
||||
self.command_line.push_info(crate::tf!(
|
||||
"XREF Unloaded (skipped): \"{}\"",
|
||||
|
|
|
|||
Loading…
Reference in a new issue