adding insert item signal
This commit is contained in:
parent
8d547509af
commit
c58ca7e59f
1 changed files with 2 additions and 0 deletions
|
@ -284,6 +284,8 @@ mod service_item_model {
|
||||||
.insert(id as usize, service_item);
|
.insert(id as usize, service_item);
|
||||||
self.as_mut().end_insert_rows();
|
self.as_mut().end_insert_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