Commit a75d0584 by Mārtiņš Možeiko

Fix for potential crash.

Crash happens when browsing percent links in source view after clicking on root node.
parent 991f0669
......@@ -285,6 +285,10 @@ SymbolWidget::SymbolWidget(QMenu* menu, QWidget* parent)
loadSource(symbol->getFilename(), symbol->getLine(), parentSym->getDefinitionLine(), parentSym->getDefinitionLineLast());
}
else
{
loadSource(QString(), 0, 0, 0);
}
}
});
......
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