Fixed memory allocation for mouseCoordinate

--HG--
branch : develop
This commit is contained in:
Valentina Zhuravska 2015-09-16 20:38:54 +03:00
parent 6bba2e435b
commit 4100b0f9b1

View File

@ -1218,7 +1218,7 @@ void MainWindow::ToolBarOption()
ui->toolBarOption->addSeparator();
}
mouseCoordinate = new QLabel(QString("0, 0 (%1)").arg(doc->UnitsToStr(qApp->patternUnit())));
mouseCoordinate = new QLabel(QString("0, 0 (%1)").arg(doc->UnitsToStr(qApp->patternUnit(), true)));
ui->toolBarOption->addWidget(mouseCoordinate);
}