Add a keyboard shortcut for Run to accompany the ones for the different step actions.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42230 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2011-06-18 03:42:31 +00:00
parent f4d44cd47d
commit 4529df90fe

View File

@ -169,6 +169,10 @@ TeamWindow::DispatchMessage(BMessage* message, BHandler* handler)
&& message->FindInt32("modifiers", (int32*)&modifiers)
== B_OK) {
switch (key) {
case B_F5_KEY:
fListener->ThreadActionRequested(
fActiveThread->ID(), MSG_THREAD_RUN);
break;
case B_F10_KEY:
fListener->ThreadActionRequested(
fActiveThread->ID(), MSG_THREAD_STEP_OVER);