mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 06:21:25 +00:00
Fix timeline conf popup is not closed when we switch between docs
This commit is contained in:
parent
551aae36c4
commit
8149e4fa45
@ -396,6 +396,9 @@ void Timeline::updateUsingEditor(Editor* editor)
|
||||
|
||||
void Timeline::detachDocument()
|
||||
{
|
||||
if (m_confPopup && m_confPopup->isVisible())
|
||||
m_confPopup->closeWindow(nullptr);
|
||||
|
||||
m_firstFrameConn.disconnect();
|
||||
|
||||
if (m_document) {
|
||||
|
Loading…
Reference in New Issue
Block a user