diff -r 3b17fc5c9564 -r 6e226572c5f0 securitydialogs/SecUi/Src/SecUiAutoLockSettingPage.cpp --- a/securitydialogs/SecUi/Src/SecUiAutoLockSettingPage.cpp Fri Feb 19 23:42:03 2010 +0200 +++ b/securitydialogs/SecUi/Src/SecUiAutoLockSettingPage.cpp Fri Mar 12 15:46:51 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)) { @@ -213,7 +209,6 @@ } } } - } // // --------------------------------------------------------- // CAutolockQuery::CAutolockQuery()