From 867330ece758d491b5330eb1efa658f971ed788d Mon Sep 17 00:00:00 2001 From: ffsup2 Date: Sun, 17 Oct 2010 10:49:16 +0200 Subject: [PATCH] Bugfix: crash in batchqueue because progressListener was chained to the EditorPanel yet. --- rtgui/editorpanel.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtgui/editorpanel.cc b/rtgui/editorpanel.cc index 9e66b2c35..f673624c2 100644 --- a/rtgui/editorpanel.cc +++ b/rtgui/editorpanel.cc @@ -353,7 +353,8 @@ void EditorPanel::close () { // close image processor and the current thumbnail tpc->closeImage (); // this call stops image processing tpc->writeOptions (); - + rtengine::ImageSource* is=isrc->getImageSource(); + is->setProgressListener( NULL ); if (ipc) rtengine::StagedImageProcessor::destroy (ipc); if (beforeIpc)