Skip to content

Commit

Permalink
fix crash when Filters & Keyframes are in a tab group
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Mar 13, 2024
1 parent e216788 commit 9a5f08f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/docks/filtersdock.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2023 Meltytech, LLC
* Copyright (c) 2013-2024 Meltytech, LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -70,7 +70,7 @@ FiltersDock::FiltersDock(MetadataModel *metadataModel, AttachedFiltersModel *att
connect(this, SIGNAL(producerInChanged(int)), &m_producer, SIGNAL(inChanged(int)));
connect(this, SIGNAL(producerOutChanged(int)), &m_producer, SIGNAL(outChanged(int)));
setCurrentFilter(0, 0, QmlFilter::NoCurrentFilter);
connect(this, SIGNAL(visibilityChanged(bool)), SLOT(resetQview()));
connect(this, SIGNAL(visibilityChanged(bool)), SLOT(resetQview()), Qt::QueuedConnection);

LOG_DEBUG() << "end";
}
Expand Down Expand Up @@ -155,7 +155,7 @@ void FiltersDock::resetQview()
if (!m_qview.quickWindow()->isSceneGraphInitialized())
return;

LOG_DEBUG() << "begin";
LOG_DEBUG() << "begin" << "isVisible" << isVisible() << "qview.status" << m_qview.status();
if (!isVisible()) {
m_qview.setSource(QUrl(""));
emit currentFilterRequested(QmlFilter::NoCurrentFilter);
Expand Down

0 comments on commit 9a5f08f

Please sign in to comment.