-rw-r--r-- | kmicromail/editaccounts.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/kmicromail/editaccounts.cpp b/kmicromail/editaccounts.cpp index 49049f6..2c0f2d8 100644 --- a/kmicromail/editaccounts.cpp +++ b/kmicromail/editaccounts.cpp @@ -349,2 +349,3 @@ void IMAPconfig::slotConnectionToggle( int index ) portLine->setText( IMAP_SSL_PORT ); + CommandEdit->hide(); } @@ -358,2 +359,3 @@ void IMAPconfig::slotConnectionToggle( int index ) portLine->setText( IMAP_PORT ); + CommandEdit->hide(); } @@ -430,2 +432,3 @@ void POP3config::slotConnectionToggle( int index ) portLine->setText( POP3_SSL_PORT ); + CommandEdit->hide(); } @@ -439,2 +442,3 @@ void POP3config::slotConnectionToggle( int index ) portLine->setText( POP3_PORT ); + CommandEdit->hide(); } @@ -522,8 +526,9 @@ void SMTPconfig::slotConnectionToggle( int index ) { - // 2 is ssl connection - if ( index == 2 ) + // 3 is ssl connection + if ( index == 3 ) { portLine->setText( SMTP_SSL_PORT ); + CommandEdit->hide(); } - else if ( index == 3 ) + else if ( index == 4 ) { @@ -535,2 +540,3 @@ void SMTPconfig::slotConnectionToggle( int index ) portLine->setText( SMTP_PORT ); + CommandEdit->hide(); } |