Skip to content

Commit

Permalink
Fix goto column in log viewer
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Ribelotta <[email protected]>
  • Loading branch information
martinribelotta committed Mar 29, 2017
1 parent 5c092ba commit fa783b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ void MainWindow::loggerOpenPath(const QString& path, int col, int row)
{
QString file = ui->projectView->projectPath().absoluteFilePath(path);
qDebug() << "Opening" << file << row << col;
ui->centralWidget->fileOpenAt(file, row, col, &ui->projectView->makeInfo());
ui->centralWidget->fileOpenAt(file, row - 1, col, &ui->projectView->makeInfo());
}

bool MainWindow::goToBuildStage() {
Expand Down

0 comments on commit fa783b6

Please sign in to comment.