Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Replaced duplicated code by running ProcessKeyType() instead.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Mar 2016 10:24:30 +0000 (10:24 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Mar 2016 10:24:30 +0000 (10:24 +0000)
source/contacteditor/frmContactEditorKey.cpp

index bc876d6..fb6319b 100644 (file)
@@ -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()
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy