From: Steve Brokenshire <sbrokenshire@xestia.co.uk>
Date: Sun, 4 Oct 2015 18:03:40 +0000 (+0100)
Subject: Set tab on opening of the Contact Editor to be the first tab.
X-Git-Tag: release-0.05~40
X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=9c9390ecf324b0c1c45fedab8178551d4a3cf3c0;p=xestiaab%2F.git

Set tab on opening of the Contact Editor to be the first tab.
---

diff --git a/source/contacteditor/frmContactEditor.cpp b/source/contacteditor/frmContactEditor.cpp
index 02e605b..3d2cc28 100644
--- a/source/contacteditor/frmContactEditor.cpp
+++ b/source/contacteditor/frmContactEditor.cpp
@@ -107,6 +107,8 @@ frmContactEditorADT( parent )
     //wxIcon contacticon;
     //contacticon.CopyFromBitmap(contacticonbmp);
     
+    nbkContact->SetSelection(0);
+    
 }
 
 void frmContactEditor::AddGeneralNickname( wxCommandEvent& event )
@@ -3124,8 +3126,6 @@ void frmContactEditor::LoadPicture( wxListEvent& event )
     wxImage photo;
     //wxMemoryInputStream istream(base64dec, (size_t)base64dec.size());
     
-    wxPuts(wxT("PicType:") + pictypeiter->second);
-    
     if (pictypeiter->second == wxT("image/jpeg")){
         
         if (!photo.LoadFile(istream, wxBITMAP_TYPE_JPEG)){