Centralize retained popup closing
This commit is contained in:
@@ -57,8 +57,7 @@ void NodeComboBox::loaded()
|
||||
m_text->set_text(m_items[index].c_str());
|
||||
if (on_select)
|
||||
on_select(btn, index);
|
||||
popup->mouse_release();
|
||||
popup->destroy();
|
||||
pp::panopainter::close_legacy_popup_overlay(*popup);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user