X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor-LoadGroup.cpp;h=9d08801c0265626d90a2e1d4cbb4ff7a427ea600;hb=616fa8b7c718ffaf13815ba5bad3d7b54f55c6b1;hp=8a37f617a8bd30fd5f1639ecfadd749fffff5567;hpb=4634d3047f33a6bd5862dd47e1c4ac892dd2c65d;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor-LoadGroup.cpp b/source/contacteditor/frmContactEditor-LoadGroup.cpp index 8a37f61..9d08801 100644 --- a/source/contacteditor/frmContactEditor-LoadGroup.cpp +++ b/source/contacteditor/frmContactEditor-LoadGroup.cpp @@ -38,7 +38,10 @@ void frmContactEditor::LoadMember(wxString MemberData, int *GroupCount){ // Go through the list of contacts for the account and find the matching UID. // If contact with UID doesn't match then say (unknown contact). - XABViewMode XVMData = MainPtr->GetViewMode(); + XABViewMode XVMData; + if (StartupEditMode == FALSE){ + XVMData = MainPtr->GetViewMode(); + } wxString AccountDirFinal = GetAccountDir(wxSContactAccount, FALSE);