forked from qt-creator/qt-creator
Debugger: Fix state of instruction wise operation button
Task-number: QTCREATORBUG-20714 Change-Id: Ie45fcb288a5e6a566a38b35d375b703c9c5a2326 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user