|
|
@ -436,6 +436,7 @@ KMReaderWin::KMReaderWin(TQWidget *aParent,
|
|
|
|
mHeaderOnlyAttachmentsAction( 0 ),
|
|
|
|
mHeaderOnlyAttachmentsAction( 0 ),
|
|
|
|
mSelectEncodingAction( 0 ),
|
|
|
|
mSelectEncodingAction( 0 ),
|
|
|
|
mToggleFixFontAction( 0 ),
|
|
|
|
mToggleFixFontAction( 0 ),
|
|
|
|
|
|
|
|
mToggleMimePartTreeAction( 0 ),
|
|
|
|
mCanStartDrag( false ),
|
|
|
|
mCanStartDrag( false ),
|
|
|
|
mHtmlWriter( 0 ),
|
|
|
|
mHtmlWriter( 0 ),
|
|
|
|
mSavedRelativePosition( 0 ),
|
|
|
|
mSavedRelativePosition( 0 ),
|
|
|
@ -1461,7 +1462,8 @@ void KMReaderWin::showHideMimeTree( bool isPlainTextTopLevel ) {
|
|
|
|
saveSplitterSizes( reader );
|
|
|
|
saveSplitterSizes( reader );
|
|
|
|
mMimePartTree->hide();
|
|
|
|
mMimePartTree->hide();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( mToggleMimePartTreeAction->isChecked() != mMimePartTree->isVisible() ) {
|
|
|
|
// mToggleMimePartTreeAction is null in case the reader win was created without an actionCollection
|
|
|
|
|
|
|
|
if ( mToggleMimePartTreeAction && mToggleMimePartTreeAction->isChecked() != mMimePartTree->isVisible() ) {
|
|
|
|
mToggleMimePartTreeAction->setChecked( mMimePartTree->isVisible() );
|
|
|
|
mToggleMimePartTreeAction->setChecked( mMimePartTree->isVisible() );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|