--- a/securitydialogs/SecUi/Src/SecUiAutoLockSettingPage.cpp Tue Feb 02 00:44:34 2010 +0200
+++ b/securitydialogs/SecUi/Src/SecUiAutoLockSettingPage.cpp Fri Mar 19 09:41:08 2010 +0200
@@ -51,7 +51,6 @@
{
iOriginalIndex = aCurrentSelectionItem;
- iPrevSelectionItem = aCurrentSelectionItem;
}
//
@@ -168,10 +167,7 @@
//only take into account the "Up" event. Otherwise we'll end up having 2 dialogs.
if(aPointerEvent.iType == TPointerEvent::EButton1Up)
{
- if(iPrevSelectionItem!=cur)
- iPrevSelectionItem=cur;
- else
- {
+
//only react to the event if the pen is actually inside the dialog.
if(ListBoxControl()->Rect().Contains(aPointerEvent.iPosition))
{
@@ -210,7 +206,6 @@
}
}
- }
}
}
}