Fix bug.
To find correct dimension for an individual measurement translate its name.
This commit is contained in:
parent
f3e3b9a45f
commit
fd5c10c9a8
|
@ -2116,7 +2116,7 @@ void MainWindow::StoreIndividualMDimensions()
|
||||||
|
|
||||||
auto StoreDimension = [this, measurements](IMD type)
|
auto StoreDimension = [this, measurements](IMD type)
|
||||||
{
|
{
|
||||||
const QString name = m->MeasurementForDimension(type);
|
const QString name = qApp->TrVars()->VarToUser(m->MeasurementForDimension(type));
|
||||||
const bool valid = not name.isEmpty() && measurements.contains(name);
|
const bool valid = not name.isEmpty() && measurements.contains(name);
|
||||||
switch(type)
|
switch(type)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user