diff --git a/kmkernel.cpp b/kmkernel.cpp index e090d2e0d..d5db57519 100644 --- a/kmkernel.cpp +++ b/kmkernel.cpp @@ -1952,6 +1952,14 @@ void KMKernel::slotShowConfigurationDialog() this, SLOT( slotConfigChanged() ) ); } + if( KMKernel::getKMMainWidget() == 0 ) + { + // ensure that there is a main widget available + // as parts of the configure dialog (identity) rely on this + // and this slot can be called when there is only a KMComposeWin showing + new KMMainWin; + } + if( mConfigureDialog->isHidden() ) mConfigureDialog->show(); else