From 4a43336ad83ef5c787048e63d22d7cbc671d7e1f Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Wed, 11 Jan 2012 19:29:01 +0100 Subject: [PATCH] debugger: make Shift-F5 exit when debugging a core file Task-number: QTCREATORBUG-6111 Change-Id: I18c10412ac9637261bd4d83dcd7e6bbff6fdbe03 Reviewed-by: hjk <qthjk@ovi.com> --- src/plugins/debugger/debuggerplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 45b80d0e5a9..51b2ee42d5f 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2284,8 +2284,8 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine) m_exitAction->setEnabled(true); m_startAction->setEnabled(false); m_debugWithoutDeployAction->setEnabled(false); - m_visibleStartAction->setAction(m_startAction); - m_hiddenStopAction->setAction(m_undisturbableAction); + m_visibleStartAction->setAction(m_undisturbableAction); + m_hiddenStopAction->setAction(m_exitAction); } else { // Everything else is "undisturbable". m_interruptAction->setEnabled(false); -- GitLab