From no one we should check count of VPiece.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-11-08 17:53:38 +02:00
parent 11e9b40cb1
commit 2eea6482de

View File

@ -2140,7 +2140,7 @@ void MainWindow::ActionDetails(bool checked)
if(not qApp->getOpeningPattern()) if(not qApp->getOpeningPattern())
{ {
if (pattern->DataDetails()->count() == 0) if (pattern->DataPieces()->count() == 0)
{ {
QMessageBox::information(this, tr("Detail mode"), tr("You can't use now the Detail mode. " QMessageBox::information(this, tr("Detail mode"), tr("You can't use now the Detail mode. "
"Please, create at least one workpiece."), "Please, create at least one workpiece."),