Update comboboxes when sync measurements.
This commit is contained in:
parent
a569a20756
commit
0a71b6c030
|
@ -593,6 +593,13 @@ bool MainWindow::UpdateMeasurements(const QString &path, qreal baseA, qreal base
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
pattern->ClearVariables(VarType::Measurement);
|
pattern->ClearVariables(VarType::Measurement);
|
||||||
|
|
||||||
|
if (not m->Dimensions().isEmpty())
|
||||||
|
{
|
||||||
|
InitDimensionGradation(0, m->Dimensions().values().at(0), dimensionA);
|
||||||
|
DimensionABaseChanged();
|
||||||
|
}
|
||||||
|
|
||||||
m->StoreNames(false);
|
m->StoreNames(false);
|
||||||
m->ReadMeasurements(baseA, baseB, baseC);
|
m->ReadMeasurements(baseA, baseB, baseC);
|
||||||
if (m->Type() == MeasurementsType::Individual)
|
if (m->Type() == MeasurementsType::Individual)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user