Restore DynamicsField selected status when popup is closed

This commit is contained in:
David Capello 2020-04-24 13:39:03 -03:00
parent a6c55b0210
commit 2418a075ca

View File

@ -983,8 +983,10 @@ public:
}
void showPopup() {
if (!m_popup)
if (!m_popup) {
m_popup.reset(new DynamicsPopup(this));
m_popup->Close.connect([this](CloseEvent&){ deselectItems(); });
}
const gfx::Rect bounds = this->bounds();
m_popup->remapWindow();