Another selector spawning lifetime fix
This commit is contained in:
parent
c0c659ee61
commit
c43aa72334
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ namespace psemek::ui
|
|||
p.first->on_selected(std::move(p.second));
|
||||
};
|
||||
|
||||
auto cancel = [close, revert_callbacks]{
|
||||
auto cancel = [close, revert_callbacks, selector]{
|
||||
close();
|
||||
revert_callbacks();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue