X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;ds=inline;f=source%2Fcontacteditor%2FfrmContactEditor-LoadGroup.cpp;h=2ba020c2ff6bfd75e54af0f6aaae1f5ad8eef429;hb=0177e3dca8765fcab7ca524f3ba0f243a972fdfb;hp=8a37f617a8bd30fd5f1639ecfadd749fffff5567;hpb=0f855c5d57f952d2aae11759a60de90146e03c68;p=xestiaab%2F.git
diff --git a/source/contacteditor/frmContactEditor-LoadGroup.cpp b/source/contacteditor/frmContactEditor-LoadGroup.cpp
index 8a37f61..2ba020c 100644
--- a/source/contacteditor/frmContactEditor-LoadGroup.cpp
+++ b/source/contacteditor/frmContactEditor-LoadGroup.cpp
@@ -1,3 +1,21 @@
+// frmContactEditor-LoadGroup.cpp - frmContactEditor load group subroutines.
+//
+// (c) 2012-2015 Xestia Software Development.
+//
+// This file is part of Xestia Address Book.
+//
+// Xestia Address Book is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by the
+// Free Software Foundation, version 3 of the license.
+//
+// Xestia Address Book is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with Xestia Address Book. If not, see
+
#include "frmContactEditor.h"
#include "../common/dirs.h"
#include
@@ -38,7 +56,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);