Show pins if user activated Pattern Piece Data tab or Grainline tab.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-03-01 07:43:51 +02:00
parent 247dc910d5
commit 98f26cd417

View File

@ -917,7 +917,9 @@ void DialogSeamAllowance::PathDialogClosed(int result)
//---------------------------------------------------------------------------------------------------------------------
void DialogSeamAllowance::TabChanged(int index)
{
if (ui->tabWidget->indexOf(ui->tabPins) == index)
if (index == ui->tabWidget->indexOf(ui->tabPins)
|| index == ui->tabWidget->indexOf(ui->tabGrainline)
|| index == ui->tabWidget->indexOf(ui->tabPatternPieceData))
{
if (m_visPins.isNull())
{