mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:58:12 +00:00
Welcome: Unbreak after ObjectPtr changes
This commit is contained in:
parent
409494193e
commit
15a66dc8ab
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ int main(int argc, char** argv)
|
|||
menu_option->set_text_alignment(TextAlignment::CenterLeft);
|
||||
menu_option->set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
menu_option->set_preferred_size(0, 20);
|
||||
menu_option->on_click = [&](auto&) {
|
||||
menu_option->on_click = [content = content.ptr(), &stack](auto&) {
|
||||
stack->set_active_widget(content);
|
||||
content->invalidate_layout();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue