Commit bed8a060 authored by hjk's avatar hjk
Browse files

debugger: fix crash for 'Create Full Backtrace' on engines that don't support

it.
parent 7c4eb002
......@@ -105,7 +105,8 @@ void StackWindow::contextMenuEvent(QContextMenuEvent *ev)
QAction *actCopyContents = menu.addAction(tr("Copy Contents to Clipboard"));
actCopyContents->setEnabled(model() != 0);
menu.addAction(theDebuggerAction(CreateFullBacktrace));
if (engineCapabilities & CreateFullBacktraceCapability)
menu.addAction(theDebuggerAction(CreateFullBacktrace));
QAction *actShowMemory = menu.addAction(QString());
if (address.isEmpty()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment