debugger: improve launch progress display

This commit is contained in:
hjk
2010-07-22 12:02:09 +02:00
parent d721e55a12
commit aae95a24a2
3 changed files with 23 additions and 13 deletions

View File

@@ -2262,7 +2262,7 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
// This is only needed when we insist on using Shift-F5 for Interrupt.
// Removing the block makes F5 interrupt when running and continue when stopped.
Core::ActionManager *am = core->actionManager();
if (stopped) {
if (m_state == InferiorStopOk || m_state == InferiorUnrunnable) {
am->command(Constants::STOP)->setKeySequence(QKeySequence(STOP_KEY));
am->command(PE::DEBUG)->setKeySequence(QKeySequence("F5"));
} else {