mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Set cursor on proper line.
This commit is contained in:
parent
c503e3760c
commit
5dc3d73ad6
@ -415,7 +415,7 @@ void View::SetTextEditorFile( const char* fileName, int line )
|
||||
fclose( f );
|
||||
|
||||
m_textEditor->SetText( data );
|
||||
m_textEditor->SetCursorPosition( TextEditor::Coordinates( line, 0 ) );
|
||||
m_textEditor->SetCursorPosition( TextEditor::Coordinates( line-1, 0 ) );
|
||||
|
||||
m_textEditorFile = fileName;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user