From 9c9390ecf324b0c1c45fedab8178551d4a3cf3c0 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 4 Oct 2015 19:03:40 +0100 Subject: [PATCH] Set tab on opening of the Contact Editor to be the first tab. --- source/contacteditor/frmContactEditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)){ -- 2.39.2