Fix bug. Unloading multisize measurements doesn't hide size and height
comboboxes. --HG-- branch : feature
This commit is contained in:
parent
c368a956b8
commit
bc037e15b5
|
@ -1609,6 +1609,11 @@ void MainWindow::UnloadMeasurements()
|
||||||
if (doc->ListMeasurements().isEmpty())
|
if (doc->ListMeasurements().isEmpty())
|
||||||
{
|
{
|
||||||
watcher->removePath(AbsoluteMPath(qApp->GetPPath(), doc->MPath()));
|
watcher->removePath(AbsoluteMPath(qApp->GetPPath(), doc->MPath()));
|
||||||
|
if (qApp->patternType() == MeasurementsType::Multisize)
|
||||||
|
{
|
||||||
|
ToolBarOption();
|
||||||
|
}
|
||||||
|
qApp->setPatternType(MeasurementsType::Unknown);
|
||||||
doc->SetMPath(QString());
|
doc->SetMPath(QString());
|
||||||
PatternChangesWereSaved(false);
|
PatternChangesWereSaved(false);
|
||||||
ui->actionEditCurrent->setEnabled(false);
|
ui->actionEditCurrent->setEnabled(false);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user