Bind the Escape key to close the main reader window.

CCMAIL:kde-usability@kde.org

svn path=/trunk/kdepim/; revision=375479
wilder-work
John Tapsell 22 years ago
parent eb435877d9
commit 703bda2ccb
  1. 5
      kmreadermainwin.cpp

@ -205,7 +205,10 @@ void KMReaderMainWin::setupAccel()
mPrintAction = KStdAction::print( this, SLOT( slotPrintMsg() ),
actionCollection() );
KStdAction::close( this, SLOT( close() ), actionCollection() );
KAction *closeAction = KStdAction::close( this, SLOT( close() ), actionCollection() );
KShortcut closeShortcut = closeAction->shortcut();
closeShortcut.append( KKey(Key_Escape));
closeAction->setShortcut(closeShortcut);
//----- View Menu
mViewSourceAction = new KAction( i18n("&View Source"), Key_V, this,

Loading…
Cancel
Save