From 60710b28355ca6fa077219574be46c3880c1d933 Mon Sep 17 00:00:00 2001 From: enk Date: Tue, 18 Apr 2006 13:20:15 +0000 Subject: [PATCH] Fix for Bug IPAL11935: Crash after close "Animation" dialog box with saving pictures --- src/VISU_I/VISU_TimeAnimation.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/VISU_I/VISU_TimeAnimation.cxx b/src/VISU_I/VISU_TimeAnimation.cxx index 432404e0..bb6f4078 100644 --- a/src/VISU_I/VISU_TimeAnimation.cxx +++ b/src/VISU_I/VISU_TimeAnimation.cxx @@ -618,6 +618,8 @@ void VISU_TimeAnimation::run() qApp->unlock(); msleep(100); qApp->lock(); + if(!(myFieldsLst[0].myField)) // break, if field was deleted. + break; if (myDumpFormat.compare("AVI") != 0) { QString aFile(myDumpPath); QString aName = QString("%1").arg(myFieldsLst[0].myTiming[myFrame]); -- 2.39.2