diff --git a/Gui/VtkVis/VtkAlgorithmPropertyLineEdit.cpp b/Gui/VtkVis/VtkAlgorithmPropertyLineEdit.cpp index 315a48831d8a8b98154a46462c0485d8dd2fe0a0..55d6aa7269cc04bae667a1ba2cdd5328176c5692 100644 --- a/Gui/VtkVis/VtkAlgorithmPropertyLineEdit.cpp +++ b/Gui/VtkVis/VtkAlgorithmPropertyLineEdit.cpp @@ -35,6 +35,7 @@ VtkAlgorithmPropertyLineEdit::VtkAlgorithmPropertyLineEdit(const QString& conten case QVariant::Int: this->setValidator(new QIntValidator(this)); + break; default: break; diff --git a/Gui/VtkVis/VtkAlgorithmPropertyVectorEdit.cpp b/Gui/VtkVis/VtkAlgorithmPropertyVectorEdit.cpp index 5eee577fa90afe8183552b5074e3be74b2c56227..76a6bd75506a81730788bbe4d3eead563cc00a6e 100644 --- a/Gui/VtkVis/VtkAlgorithmPropertyVectorEdit.cpp +++ b/Gui/VtkVis/VtkAlgorithmPropertyVectorEdit.cpp @@ -47,6 +47,7 @@ VtkAlgorithmPropertyVectorEdit::VtkAlgorithmPropertyVectorEdit( const QList<QStr case QVariant::Int: lineEdit->setValidator(new QIntValidator(this)); + break; default: break;