X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditorKey.cpp;h=fb6319b8591b73a289983382c78a99ccceee2c1b;hb=27d8c45d1c229cbed71073ee9fc3e93b60373e94;hp=bc876d6bf62939a35ad464db9f88f720d8aef800;hpb=34070bacbe68b726dd1c3d34834b72ad2b324c54;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditorKey.cpp b/source/contacteditor/frmContactEditorKey.cpp index bc876d6..fb6319b 100644 --- a/source/contacteditor/frmContactEditorKey.cpp +++ b/source/contacteditor/frmContactEditorKey.cpp @@ -408,23 +408,9 @@ void frmContactEditorKey::ProcessKeyType( wxCommandEvent& event ) { // Process the key type (via wxCommandEvent). - - int intKeyType = 0; - - intKeyType = cmbKeyMainType->GetCurrentSelection(); - - if (intKeyType == 0){ - - tabURL->Show(); - tabKey->Hide(); - - } else if (intKeyType == 1){ - - tabURL->Hide(); - tabKey->Show(); - - } + ProcessKeyType(); + } void frmContactEditorKey::ProcessKeyType()