diff --git a/kmreadermainwin.cpp b/kmreadermainwin.cpp index 22c1ec82a..b8c2b3100 100644 --- a/kmreadermainwin.cpp +++ b/kmreadermainwin.cpp @@ -357,6 +357,9 @@ void KMReaderMainWin::setupAccel() connect( mReaderWin->viewer(), SIGNAL(popupMenu(Akonadi::Item,KUrl,KUrl,QPoint)), this, SLOT(slotMessagePopup(Akonadi::Item,KUrl,KUrl,QPoint)) ); + connect( mReaderWin->viewer(), SIGNAL(itemRemoved()), + this, SLOT(close()) ); + setStandardToolBarMenuEnabled(true); KStandardAction::configureToolbars(this, SLOT(slotEditToolbars()), actionCollection()); }