equal
deleted
inserted
replaced
38 #include <Pbk2Commands.hrh> //pbk2cmdsend |
38 #include <Pbk2Commands.hrh> //pbk2cmdsend |
39 #include <Pbk2DataCaging.hrh> |
39 #include <Pbk2DataCaging.hrh> |
40 #include <TPbk2ContactEditorParams.h> |
40 #include <TPbk2ContactEditorParams.h> |
41 #include <CPbk2GeneralConfirmationQuery.h> |
41 #include <CPbk2GeneralConfirmationQuery.h> |
42 #include <CPbk2PresentationContact.h> |
42 #include <CPbk2PresentationContact.h> |
|
43 #include <CPbk2PresentationContactFieldCollection.h> |
43 #include <StringLoader.h> |
44 #include <StringLoader.h> |
44 #include <AknQueryDialog.h> |
45 #include <AknQueryDialog.h> |
45 |
46 |
46 // --------------------------------------------------------------------------- |
47 // --------------------------------------------------------------------------- |
47 // Constants |
48 // Constants |
255 switch( aCommand ) |
256 switch( aCommand ) |
256 { |
257 { |
257 case ECCAppMyCardCmdEdit: |
258 case ECCAppMyCardCmdEdit: |
258 { |
259 { |
259 // when editor is called via options menu, focus first field always |
260 // when editor is called via options menu, focus first field always |
260 EditL( 0 ); |
261 EditL( iMyCard->PresentationContactL(). |
|
262 PresentationFields().StoreIndexOfField( 0 ) ); |
261 break; |
263 break; |
262 } |
264 } |
263 case ECCappMyCardCmdSendVCard: |
265 case ECCappMyCardCmdSendVCard: |
264 { |
266 { |
265 SendBusinessCardL(); |
267 SendBusinessCardL(); |