Qt: Fix race condition in AssetView
Vicki Pfau vi@endrift.com
Thu, 02 Feb 2017 09:59:28 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/qt/AssetView.cpp
→
src/platform/qt/AssetView.cpp
@@ -24,7 +24,7 @@ connect(m_controller, SIGNAL(gameStopped(mCoreThread*)), &m_updateTimer, SLOT(stop()));
} void AssetView::updateTiles(bool force) { - if (!m_controller->thread() || !m_controller->thread()->core) { + if (!m_controller->isLoaded()) { return; }