Centralize retained delete confirmation closing
This commit is contained in:
@@ -80,7 +80,7 @@ template <class ButtonT>
|
||||
void bind_legacy_click_destroys_node(ButtonT& button, Node& target) noexcept
|
||||
{
|
||||
button.on_click = [&target](Node*) {
|
||||
target.destroy();
|
||||
close_legacy_dialog_node(target);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user