gui(installer): clear checkbox if descriptor is changed
This commit is contained in:
parent
bc7f2e3f6b
commit
416dc9d2d8
@ -1515,7 +1515,10 @@ impl Step for BackupDescriptor {
|
||||
Command::none()
|
||||
}
|
||||
fn load_context(&mut self, ctx: &Context) {
|
||||
self.descriptor = ctx.descriptor.clone();
|
||||
if self.descriptor != ctx.descriptor {
|
||||
self.descriptor = ctx.descriptor.clone();
|
||||
self.done = false;
|
||||
}
|
||||
}
|
||||
fn view(&self, _hws: &HardwareWallets, progress: (usize, usize)) -> Element<Message> {
|
||||
let desc = self.descriptor.as_ref().unwrap();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user