Kaydet (Commit) 01153fac authored tarafından Rachit Gupta's avatar Rachit Gupta Kaydeden (comit) Jan Holesovsky

Fixed crash when cancel is clicked without searching.

Change-Id: I67ca901270874794ec55d5b7db2cd18e6d3a997d
üst e372d28c
...@@ -159,7 +159,8 @@ IMPL_LINK( SelectPersonaDialog, ActionOK, PushButton*, /* pButton */ ) ...@@ -159,7 +159,8 @@ IMPL_LINK( SelectPersonaDialog, ActionOK, PushButton*, /* pButton */ )
IMPL_LINK( SelectPersonaDialog, ActionCancel, PushButton*, /* pButton */ ) IMPL_LINK( SelectPersonaDialog, ActionCancel, PushButton*, /* pButton */ )
{ {
m_rSearchThread->StopExecution(); if( m_rSearchThread.is() )
m_rSearchThread->StopExecution();
EndDialog( RET_CANCEL ); EndDialog( RET_CANCEL );
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment