Qt: Fix race condition in AssetView

This commit is contained in:
Vicki Pfau 2017-02-02 09:59:28 -08:00
parent 1ab6d36fa2
commit bb1965a8d0
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ AssetView::AssetView(GameController* controller, QWidget* parent)
}
void AssetView::updateTiles(bool force) {
if (!m_controller->thread() || !m_controller->thread()->core) {
if (!m_controller->isLoaded()) {
return;
}