ui: Return to active symbol definition in code view when clicking active node in graph view (issue #836)

This commit is contained in:
Eberhard Graether
2019-12-09 17:51:18 +01:00
parent eeb5b13797
commit f25e8aa32d
5 changed files with 35 additions and 38 deletions
@@ -174,7 +174,14 @@ void QtCodeFileSingle::scrollTo(
{
if (m_currentFilePath != filePath)
{
return;
FileData file = getFileData(filePath);
if (!file.area)
{
return;
}
setFileData(file);
animated = false;
}
size_t endLineNumber = 0;