ui: Return to active symbol definition in code view when clicking active node in graph view (issue #836)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user