Check size of pieces list in "Create mode".

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-11-23 18:36:37 +02:00
parent 6793bb69f1
commit 34e5fd2ceb

View File

@ -322,7 +322,7 @@ bool DialogPiecePath::PathIsValid() const
}
}
if (m_showMode && ui->comboBoxPiece->count() <= 0)
if (not m_showMode && ui->comboBoxPiece->count() <= 0)
{
url += tr("List of pieces is empty!");
ui->helpLabel->setText(url);