mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-06 06:50:07 +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()
|
void Timeline::detachDocument()
|
||||||
{
|
{
|
||||||
|
if (m_confPopup && m_confPopup->isVisible())
|
||||||
|
m_confPopup->closeWindow(nullptr);
|
||||||
|
|
||||||
m_firstFrameConn.disconnect();
|
m_firstFrameConn.disconnect();
|
||||||
|
|
||||||
if (m_document) {
|
if (m_document) {
|
||||||
|
Loading…
Reference in New Issue
Block a user