Commit b7c3e821 authored by Kai Koehne's avatar Kai Koehne
Browse files

QuickDesigner: Jump to right column for QML syntax errors

column count for errors start with 1.

Task-number: QTCREATORBUG-4347
Reviewed-by: Thomas Hartmann
parent ac2af19e
......@@ -155,7 +155,7 @@ QList<QToolButton *> ItemLibrarySideBarItem::createToolBarWidgets()
void DocumentWarningWidget::goToError()
{
m_designModeWidget->textEditor()->gotoLine(m_error.line(), m_error.column());
m_designModeWidget->textEditor()->gotoLine(m_error.line(), m_error.column() - 1);
Core::ModeManager::instance()->activateMode(Core::Constants::MODE_EDIT);
}
......
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