mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Fix crash
This commit is contained in:
parent
1a26133a78
commit
35cd790c8f
@ -682,9 +682,14 @@ void ElementsCollectionWidget::loadingFinished()
|
|||||||
m_progress_bar->hide();
|
m_progress_bar->hide();
|
||||||
m_tree_view->setEnabled(true);
|
m_tree_view->setEnabled(true);
|
||||||
|
|
||||||
|
if (m_loading_timer) {
|
||||||
qInfo()<<"Elements collection finished to be loaded in " << m_loading_timer->elapsed() << " ms";
|
qInfo()<<"Elements collection finished to be loaded in " << m_loading_timer->elapsed() << " ms";
|
||||||
m_loading_timer.reset();
|
m_loading_timer.reset();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
qInfo()<<"Elements collection finished to be loaded";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@brief ElementsCollectionWidget::locationWasSaved
|
@brief ElementsCollectionWidget::locationWasSaved
|
||||||
|
Loading…
x
Reference in New Issue
Block a user