From 1166a4797a91cedd5002a3513d5028c5e86016f0 Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 11 Mar 2005 19:26:02 +0000 Subject: better kopi export --- (limited to 'kmicromail/editaccounts.cpp') diff --git a/kmicromail/editaccounts.cpp b/kmicromail/editaccounts.cpp index 49049f6..2c0f2d8 100644 --- a/kmicromail/editaccounts.cpp +++ b/kmicromail/editaccounts.cpp @@ -347,6 +347,7 @@ void IMAPconfig::slotConnectionToggle( int index ) if ( index == 2 ) { portLine->setText( IMAP_SSL_PORT ); + CommandEdit->hide(); } else if ( index == 3 ) { @@ -356,6 +357,7 @@ void IMAPconfig::slotConnectionToggle( int index ) else { portLine->setText( IMAP_PORT ); + CommandEdit->hide(); } } @@ -428,6 +430,7 @@ void POP3config::slotConnectionToggle( int index ) if ( index == 2 ) { portLine->setText( POP3_SSL_PORT ); + CommandEdit->hide(); } else if ( index == 3 ) { @@ -437,6 +440,7 @@ void POP3config::slotConnectionToggle( int index ) else { portLine->setText( POP3_PORT ); + CommandEdit->hide(); } } @@ -520,12 +524,13 @@ void SMTPconfig::chooseSig() } 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 ) { portLine->setText( SMTP_PORT ); CommandEdit->show(); @@ -533,6 +538,7 @@ void SMTPconfig::slotConnectionToggle( int index ) else { portLine->setText( SMTP_PORT ); + CommandEdit->hide(); } } -- cgit v0.9.0.2