We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a02fb08 commit f44af04Copy full SHA for f44af04
src/gui/editorwidgets/qgsdoublespinbox.cpp
@@ -107,6 +107,8 @@ void QgsDoubleSpinBox::changed( double value )
107
void QgsDoubleSpinBox::clear()
108
{
109
setValue( clearValue() );
110
+ if ( mLineEdit->isNull() )
111
+ mLineEdit->clear();
112
}
113
114
void QgsDoubleSpinBox::setClearValue( double customValue, const QString &specialValueText )
src/gui/editorwidgets/qgsspinbox.cpp
@@ -104,6 +104,8 @@ void QgsSpinBox::changed( int value )
104
void QgsSpinBox::clear()
105
106
void QgsSpinBox::setClearValue( int customValue, const QString &specialValueText )
0 commit comments