mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-06 06:58:15 +00:00
Restore DynamicsField selected status when popup is closed
This commit is contained in:
parent
a6c55b0210
commit
2418a075ca
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user