diff --git a/src/app/tape/dialogs/dialognewmeasurements.cpp b/src/app/tape/dialogs/dialognewmeasurements.cpp index 7505f77b0..782bbfe4f 100644 --- a/src/app/tape/dialogs/dialognewmeasurements.cpp +++ b/src/app/tape/dialogs/dialognewmeasurements.cpp @@ -63,7 +63,7 @@ DialogNewMeasurements::~DialogNewMeasurements() MeasurementsType DialogNewMeasurements::Type() const { #if QT_VERSION < QT_VERSION_CHECK(5, 2, 0) - return static_cast(ui->comboBoxMType->itemData(ui->comboBoxMType->currentIndex()).toInt()); + return static_cast(ui->comboBoxMType->itemData(ui->comboBoxMType->currentIndex()).toInt()); #else return static_cast(ui->comboBoxMType->currentData().toInt()); #endif