Fixed issue. Dialog Detail doesn't remember values after close.
--HG-- branch : develop
This commit is contained in:
parent
c7a0ac9ad2
commit
18dc31dd85
|
@ -1409,6 +1409,7 @@ void MainWindow::Preferences()
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void MainWindow::RepotBug()
|
void MainWindow::RepotBug()
|
||||||
{
|
{
|
||||||
|
qCDebug(vMainWindow)<<"Reporting bug";
|
||||||
QDesktopServices::openUrl(QUrl("https://bitbucket.org/dismine/valentina/issues/new"));
|
QDesktopServices::openUrl(QUrl("https://bitbucket.org/dismine/valentina/issues/new"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -186,6 +186,8 @@ void VToolDetail::Create(DialogTool *dialog, VMainGraphicsScene *scene, VPattern
|
||||||
}
|
}
|
||||||
det.setName(detail.getName());
|
det.setName(detail.getName());
|
||||||
det.setWidth(detail.getWidth());
|
det.setWidth(detail.getWidth());
|
||||||
|
det.setClosed(detail.getClosed());
|
||||||
|
det.setSeamAllowance(detail.getSeamAllowance());
|
||||||
Create(0, det, scene, doc, data, Document::FullParse, Source::FromGui);
|
Create(0, det, scene, doc, data, Document::FullParse, Source::FromGui);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user