work
This commit is contained in:
@@ -125,7 +125,7 @@ widget_trait! {
|
||||
|state| self.add(state)
|
||||
}
|
||||
|
||||
fn set_ptr(self, ptr: WidgetRef<WidgetPtr>, state: &mut Rsc) {
|
||||
fn set_ptr(self, ptr: WeakWidget<WidgetPtr>, state: &mut Rsc) {
|
||||
let id = self.add_strong(state);
|
||||
state.ui_mut()[ptr].inner = Some(id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user