Fixed issue. Dialog Detail doesn't remember values after close.

--HG--
branch : develop
This commit is contained in:
dismine 2014-11-20 20:13:27 +02:00
parent c7a0ac9ad2
commit 18dc31dd85
2 changed files with 3 additions and 0 deletions

View File

@ -1409,6 +1409,7 @@ void MainWindow::Preferences()
//---------------------------------------------------------------------------------------------------------------------
void MainWindow::RepotBug()
{
qCDebug(vMainWindow)<<"Reporting bug";
QDesktopServices::openUrl(QUrl("https://bitbucket.org/dismine/valentina/issues/new"));
}

View File

@ -186,6 +186,8 @@ void VToolDetail::Create(DialogTool *dialog, VMainGraphicsScene *scene, VPattern
}
det.setName(detail.getName());
det.setWidth(detail.getWidth());
det.setClosed(detail.getClosed());
det.setSeamAllowance(detail.getSeamAllowance());
Create(0, det, scene, doc, data, Document::FullParse, Source::FromGui);
}