From 63034e55ce46959d726b2e1ec827e7dde95729f1 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 3 Jul 2018 10:59:40 +0200 Subject: [PATCH] Debugger: Fix state of instruction wise operation button Task-number: QTCREATORBUG-20714 Change-Id: Ie45fcb288a5e6a566a38b35d375b703c9c5a2326 Reviewed-by: hjk Reviewed-by: David Schulz --- src/plugins/debugger/debuggerengine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index 4e8ba42d181..7befc65ae2a 100644 --- a/src/plugins/debugger/debuggerengine.cpp +++ b/src/plugins/debugger/debuggerengine.cpp @@ -486,6 +486,7 @@ void DebuggerEngine::start() d->m_runTool->runControl()->setApplicationProcessHandle(d->m_inferiorPid); action(OperateByInstruction)->setEnabled(hasCapability(DisassemblerCapability)); + action(OperateByInstruction)->setChecked(boolSetting(OperateByInstruction)); QTC_ASSERT(state() == DebuggerNotReady || state() == DebuggerFinished, qDebug() << state());