[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: [Bug 62096] old network remains after deleting
From: Matt Douhan <matt () fruitsalad ! org>
Date: 2005-04-30 17:42:47
Message-ID: 20050430174247.9431.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=62096
matt fruitsalad org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From matt fruitsalad org 2005-04-30 19:42 -------
CVS commit by mdouhan:
If the deleted transport is the currently used one (sticky transport)
reset it to the default transport to avoid sending using a non existant
transport that only exists in the combobox and not in the accounts configuration
BUG:62096
M +6 -0 configuredialog.cpp 1.531
--- kdepim/kmail/configuredialog.cpp #1.530:1.531
@ -869,4 +869,10 @ void AccountsPage::SendingTab::slotRemov
}
+ // if the deleted transport is the currently used transport reset it to default
+ const QString& currentTransport = GlobalSettings::currentTransport();
+ if ( item->text( 0 ) == currentTransport ) {
+ GlobalSettings::setCurrentTransport( QString::null );
+ }
+
if ( !changedIdents.isEmpty() ) {
QString information = i18n( "This identity has been changed to use the default transport:",
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic