SVN commit 645673 by wstephens:

Ensure that there is a KMMainWidget before showing the config dialog, as parts of the config (identitydialog) depend 
on its existence.
BUG#:118060


svn path=/branches/kdepim/enterprise/kdepim/; revision=668075
wilder-work
Pradeepto Bhattacharya 19 years ago
parent c903eafad3
commit 0ae3229417
  1. 8
      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

Loading…
Cancel
Save