From 8149e4fa4566783e13068cad2fb97cea1371a105 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 9 Nov 2022 09:03:21 -0300 Subject: [PATCH] Fix timeline conf popup is not closed when we switch between docs --- src/app/ui/timeline/timeline.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/ui/timeline/timeline.cpp b/src/app/ui/timeline/timeline.cpp index 89b9b4706..277d4c572 100644 --- a/src/app/ui/timeline/timeline.cpp +++ b/src/app/ui/timeline/timeline.cpp @@ -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) {