[ui] CRF display: avoid binding error when closing the application

Co-authored-by: Julien Haudegond <44610840+Julien-Haudegond@users.noreply.github.com>
This commit is contained in:
Fabien Castan 2020-08-24 18:27:20 +02:00 committed by GitHub
parent b295242576
commit 2a564a8336
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ FloatingPane {
}
// note: We need to use csvData.getNbColumns() slot instead of the csvData.nbColumns property to avoid a crash on linux.
property bool crfReady: csvData.ready && (csvData.getNbColumns() >= 4)
property bool crfReady: csvData && csvData.ready && (csvData.getNbColumns() >= 4)
onCrfReadyChanged: {
if(crfReady)
{