Show list of points from the begin of the list.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-03-19 16:29:26 +02:00
parent 505cec891d
commit 02cb84c4a1

View File

@ -88,6 +88,11 @@ void DialogCubicBezierPath::SetPath(const VCubicBezierPath &value)
SCASSERT(visPath != nullptr); SCASSERT(visPath != nullptr);
visPath->setPath(path); visPath->setPath(path);
ui->listWidget->blockSignals(false); ui->listWidget->blockSignals(false);
if (ui->listWidget->count() > 0)
{
ui->listWidget->setCurrentRow(0);
}
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------