Fix timeline conf popup is not closed when we switch between docs

This commit is contained in:
David Capello 2022-11-09 09:03:21 -03:00
parent 551aae36c4
commit 8149e4fa45

View File

@ -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) {