homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hscollectionslistdialog.cpp
changeset 55 03646e8da489
parent 51 4785f57bf3d4
child 60 30f14686fb04
--- a/homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hscollectionslistdialog.cpp	Thu May 27 12:46:08 2010 +0300
+++ b/homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hscollectionslistdialog.cpp	Fri Jun 11 13:30:16 2010 +0300
@@ -62,7 +62,10 @@
         int collectionId) :
     HbSelectionDialog(), mItemId(0)
 {
-    setPrimaryAction(NULL);
+    clearActions();
+    HbAction *cancelAction = new HbAction(hbTrId("txt_common_button_cancel"), this);
+    addAction(cancelAction);
+
     setHeadingWidget(new HbLabel(hbTrId("txt_applib_title_add_to")));
     // it must be single selection, although it shows checkboxes -
     // it is Orbit defect and will be fixed in next release
@@ -109,8 +112,6 @@
     HbDialog::closeEvent(event); // emits finished(HbAction*)
 }
 
-
-
 /*!
  Creates standard item model.
  \param sortOrder sort order.