diff --git a/src/app/tape/tmainwindow.cpp b/src/app/tape/tmainwindow.cpp index 7c7c673a7..49eaad996 100644 --- a/src/app/tape/tmainwindow.cpp +++ b/src/app/tape/tmainwindow.cpp @@ -2205,6 +2205,7 @@ void TMainWindow::RestrictSecondDimesion() m->SetRestrictions(dialog.Restrictions()); MeasurementsWereSaved(false); + DimensionABaseChanged(); // trigger refresh } //--------------------------------------------------------------------------------------------------------------------- @@ -2224,6 +2225,7 @@ void TMainWindow::RestrictThirdDimesion() m->SetRestrictions(dialog.Restrictions()); MeasurementsWereSaved(false); + DimensionABaseChanged(); // trigger refresh } //--------------------------------------------------------------------------------------------------------------------- @@ -2624,6 +2626,10 @@ void TMainWindow::InitDimensionGradation(int index, const MeasurementDimension_p } } + // after initialization the current index is 0. The signal for changing the index will not be triggered if not make + // it invalid first + control->setCurrentIndex(-1); + int i = control->findData(current); if (i != -1) {