Fixed memory allocation for mouseCoordinate
--HG-- branch : develop
This commit is contained in:
parent
6bba2e435b
commit
4100b0f9b1
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user