--- a/omads/omadsappui/ui/src/NSmlDSSyncAppUi.cpp Tue Apr 27 16:23:46 2010 +0300
+++ b/omads/omadsappui/ui/src/NSmlDSSyncAppUi.cpp Tue May 11 16:00:32 2010 +0300
@@ -66,7 +66,11 @@
TBuf<KBufSize128> buf;
CNSmlDSSyncDocument* document= STATIC_CAST(CNSmlDSSyncDocument*, Document());
- document->Model()->ShowSettingsL(0, KModeDialogNoWait, buf);
+ TRAPD(err, document->Model()->ShowSettingsL(0, KModeDialogNoWait, buf));
+ if(err != KErrNone)
+ {
+ iAvkonAppUi->Exit();
+ }
}
FLOG( _L("CNSmlDSSyncAppUi::ConstructL END") );