X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;ds=inline;f=source%2FfrmNewAccount.cpp;h=211fb89fc96634da62b3393bfe0d4bd0084036f8;hb=47c9e75a211e10b803a2ece2efc7daff4647e7c9;hp=a28eefdca63d90e9a40d77cf3cb5388528371ac0;hpb=669b99d1449d13f55ea92d174b158f5e416e7839;p=xestiaab%2F.git
diff --git a/source/frmNewAccount.cpp b/source/frmNewAccount.cpp
index a28eefd..211fb89 100644
--- a/source/frmNewAccount.cpp
+++ b/source/frmNewAccount.cpp
@@ -1,3 +1,21 @@
+// frmNewAccount.cpp - New Account form.
+//
+// (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 "frmNewAccount.h"
#include
#include
@@ -432,7 +450,7 @@ void frmNewAccount::ProcessNext( wxCommandEvent& event )
delete cfgfile;
cfgfile = NULL;
- ReloadAccountConfig = TRUE;
+ *ReloadAccountConfig = TRUE;
#else
@@ -518,7 +536,7 @@ void frmNewAccount::ProcessNext( wxCommandEvent& event )
delete cfgfile;
cfgfile = NULL;
- ReloadAccountConfig = TRUE;
+ *ReloadAccountConfig = TRUE;
#endif
@@ -555,7 +573,7 @@ void frmNewAccount::WriteAccountDetails(wxFileConfig *cfgfilein, wxString Accoun
void frmNewAccount::CloseWindow( wxCommandEvent& event )
{
- ReloadAccountConfig = FALSE;
+ *ReloadAccountConfig = FALSE;
this->Close();
}