summaryrefslogtreecommitdiffabout
path: root/kmicromail/accountview.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/accountview.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/accountview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kmicromail/accountview.cpp b/kmicromail/accountview.cpp
index e9be224..6227f6d 100644
--- a/kmicromail/accountview.cpp
+++ b/kmicromail/accountview.cpp
@@ -105,2 +105,4 @@ void AccountView::refreshOutgoing()
AccountViewItem *view = static_cast<AccountViewItem *>(m_currentItem);
+ if ( !view->getFolder() )
+ return;
QString bName = view->getFolder()->getDisplayName();