src/hbwidgets/popups/hbprogressdialog.cpp
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
--- a/src/hbwidgets/popups/hbprogressdialog.cpp	Fri Sep 17 08:32:10 2010 +0300
+++ b/src/hbwidgets/popups/hbprogressdialog.cpp	Mon Oct 04 00:38:12 2010 +0300
@@ -638,7 +638,7 @@
 {
     Q_D(HbProgressDialog);
     d->mContentWidget->mProgressBar->show();
-    d->mAction->setText(hbTrId("txt_common_button_cancel"));
+    d->mActionText = d->mAction->text();
     HbDialog::showEvent(event);   
 }
 
@@ -658,6 +658,7 @@
         d->mTimer->stop();
         d->flags &= ~HbProgressDialogPrivate::Showtimer;
     }
+    d->mAction->setText(d->mActionText);
     d->mContentWidget->mProgressBar->close();
     HbDialog::closeEvent(event);    
 }