From 18dc31dd8541ecca258ea1eccf99419b996cfa84 Mon Sep 17 00:00:00 2001 From: dismine Date: Thu, 20 Nov 2014 20:13:27 +0200 Subject: [PATCH] Fixed issue. Dialog Detail doesn't remember values after close. --HG-- branch : develop --- src/app/mainwindow.cpp | 1 + src/app/tools/vtooldetail.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp index c7055f6e0..ddf4bcf1a 100644 --- a/src/app/mainwindow.cpp +++ b/src/app/mainwindow.cpp @@ -1409,6 +1409,7 @@ void MainWindow::Preferences() //--------------------------------------------------------------------------------------------------------------------- void MainWindow::RepotBug() { + qCDebug(vMainWindow)<<"Reporting bug"; QDesktopServices::openUrl(QUrl("https://bitbucket.org/dismine/valentina/issues/new")); } diff --git a/src/app/tools/vtooldetail.cpp b/src/app/tools/vtooldetail.cpp index b61ab160d..24e9572b1 100644 --- a/src/app/tools/vtooldetail.cpp +++ b/src/app/tools/vtooldetail.cpp @@ -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); }