From 84bb44943f493a83912b2877727b7bf8304a13a5 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 22 Oct 2018 11:42:04 +0300 Subject: [PATCH] Fixed issue #890. Menu Windows->Close pattern doesn't clear "Group of visibility" list. (grafted from 36be0b8fc57d31b2cf949adc86c713e85bfd0cb3) --HG-- branch : develop --- ChangeLog.txt | 1 + src/app/valentina/mainwindow.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog.txt b/ChangeLog.txt index e2f42176d..91029558b 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,6 +1,7 @@ # Version 0.6.1 (unreleased) - [#885] Regression. Broken support for multi size measurements. - Fixed issues with seam allowance. +- [#890] Menu Windows->Close pattern doesn't clear "Group of visibility" list. # Version 0.6.0 October 1, 2018 - [#682] New feature. Export increments to Excel .csv. diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 98de6b540..d6a128636 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -2917,6 +2917,8 @@ void MainWindow::Clear() watcher->removePath(AbsoluteMPath(qApp->GetPatternPath(), doc->MPath())); } doc->clear(); + UpdateVisibilityGroups(); + detailsWidget->UpdateList(); qCDebug(vMainWindow, "Clearing scenes."); sceneDraw->clear(); sceneDetails->clear();