From 4443b6dd886ce7d6fc6f99c594023fdd71d010b3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 14 Jan 2013 10:40:05 -0600 Subject: Fix KDoubleSpinBox initialization problem --- tdeui/knuminput.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tdeui/knuminput.cpp b/tdeui/knuminput.cpp index 118af6c22..238eeee7a 100644 --- a/tdeui/knuminput.cpp +++ b/tdeui/knuminput.cpp @@ -1099,7 +1099,6 @@ double KDoubleSpinBox::minValue() const { void KDoubleSpinBox::setMinValue( double value ) { bool ok = false; int min = d->mapToInt( value, &ok ); - if ( !ok ) return; base::setMinValue( min ); updateValidator(); } @@ -1112,7 +1111,6 @@ double KDoubleSpinBox::maxValue() const { void KDoubleSpinBox::setMaxValue( double value ) { bool ok = false; int max = d->mapToInt( value, &ok ); - if ( !ok ) return; base::setMaxValue( max ); updateValidator(); } -- cgit v1.2.1