Backport from 4.4: fix enable/disable select all action

MERGE: e4/e5

svn path=/trunk/KDE/kdepim/kmail/; revision=1080566
wilder-work
Laurent Montel 16 years ago
parent 3ba30c551c
commit f88f9cf6a5
  1. 3
      kmcomposewin.cpp
  2. 2
      kmcomposewin.h

@ -446,6 +446,7 @@ void KMComposeWin::slotEditorTextChanged()
mFindText->setEnabled( textIsNotEmpty );
mFindNextText->setEnabled( textIsNotEmpty );
mReplaceText->setEnabled( textIsNotEmpty );
mSelectAll->setEnabled( textIsNotEmpty );
}
//-----------------------------------------------------------------------------
@ -1214,7 +1215,7 @@ void KMComposeWin::setupActions( void )
KStandardAction::cut( this, SLOT(slotCut()), actionCollection() );
KStandardAction::copy( this, SLOT(slotCopy()), actionCollection() );
KStandardAction::pasteText( this, SLOT(slotPaste()), actionCollection() );
KStandardAction::selectAll( this, SLOT(slotMarkAll()), actionCollection() );
mSelectAll = KStandardAction::selectAll( this, SLOT(slotMarkAll()), actionCollection() );
mFindText = KStandardAction::find( mEditor, SLOT(slotFind()), actionCollection() );
mFindNextText = KStandardAction::findNext( mEditor, SLOT(slotFindNext()), actionCollection() );

@ -701,7 +701,7 @@ class KMComposeWin : public KMail::Composer
CodecAction *mCodecAction;
KSelectAction *mCryptoModuleAction;
KAction *mFindText, *mFindNextText, *mReplaceText;
KAction *mFindText, *mFindNextText, *mReplaceText, *mSelectAll;
bool mAlwaysSend;

Loading…
Cancel
Save