App launcher view

This commit is contained in:
Aleksander
2025-11-30 15:28:05 +01:00
parent e8528735c7
commit 6b4039a764
11 changed files with 302 additions and 89 deletions

View File

@@ -43,7 +43,7 @@ impl TabType {
pub fn register_button(this_rc: RcFrontend, btn: &Rc<ComponentButton>, tab: TabType) {
btn.on_click({
Box::new(move |_common, _evt| {
this_rc.borrow_mut().push_task(FrontendTask::SetTab(tab));
this_rc.borrow_mut().tasks.push(FrontendTask::SetTab(tab));
Ok(())
})
});