Fixed issue #890. Menu Windows->Close pattern doesn't clear "Group of

visibility" list.
(grafted from 36be0b8fc57d31b2cf949adc86c713e85bfd0cb3)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-10-22 11:42:04 +03:00
parent 427d3d48c2
commit 84bb44943f
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

@ -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();