diff -r 5b3385a43d68 -r 34937ec34dac photosgallery/viewframework/uiutilities/src/glxprogressindicator.cpp --- a/photosgallery/viewframework/uiutilities/src/glxprogressindicator.cpp Wed Sep 01 12:33:26 2010 +0100 +++ b/photosgallery/viewframework/uiutilities/src/glxprogressindicator.cpp Tue Sep 14 21:19:17 2010 +0300 @@ -179,7 +179,6 @@ else { iProgressDialog->ProcessFinishedL(); - iGlxGridViewNotifyObserver.HandleDialogDismissedL(); if (iProgressDialog) { iProgressDialog = NULL; @@ -223,6 +222,7 @@ } iProgressDialog = NULL; iProgressInfo = NULL; + iGlxGridViewNotifyObserver.HandleDialogDismissedL(); } // ----------------------------------------------------------------------------- @@ -256,6 +256,12 @@ void EXPORT_C CGlxProgressIndicator::ShowProgressbarL() { TRACER("CGlxProgressIndicator::ShowProgressbarL"); + if (iProgressDialog) + { + GLX_DEBUG1("Glx: ShowProgressbarL() - Already displayed. No need to Re-create it!"); + return; + } + TInt itemsLeft = iUiUtility->GetItemsLeftCount(); GLX_DEBUG3("ShowProgressbarL itemsLeft(%d), iFinalCount(%d)", itemsLeft, iFinalCount);