adding remove item signal
This commit is contained in:
parent
00b2183750
commit
8d547509af
1 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,8 @@ mod service_item_model {
|
||||||
.remove(index as usize);
|
.remove(index as usize);
|
||||||
self.as_mut().end_remove_rows();
|
self.as_mut().end_remove_rows();
|
||||||
}
|
}
|
||||||
|
let item = self.as_mut().get_item(index);
|
||||||
|
self.as_mut().emit_item_removed(&index, &item);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[qinvokable]
|
#[qinvokable]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue