diff -r 139d4b7b2938 -r 99bcbff212ad ipsservices/nmipssettings/src/nmipssettingsmultiselectionitem.cpp --- a/ipsservices/nmipssettings/src/nmipssettingsmultiselectionitem.cpp Mon May 24 21:02:02 2010 +0300 +++ b/ipsservices/nmipssettings/src/nmipssettingsmultiselectionitem.cpp Fri May 28 13:56:43 2010 +0300 @@ -21,6 +21,7 @@ #include #include #include +#include #include "nmipssettingsmultiselectionitem.h" @@ -175,7 +176,12 @@ */ void NmIpsSettingsMultiSelectionItem::selectionDialogClosed(HbAction *action) { - if (action == mSelectionDialog->primaryAction()) { + // TODO: Needs to be properly fixed when ever orbit supports + // e.g. void finished(int result) type of signaling. + // This is kind of hack but we do not want to compare button text to some string to + // be certain which button was pressed (NOTE: Buttons are created and placed + // by HbSelectionDialog). + if (action == mSelectionDialog->actions().at(0)) { // Get selected items. mSelectedItems = mSelectionDialog->selectedItems();