CVS commit by hierro: Fixed a bug in KCalcDisplay::setText() which introduced separator in error, producing "Er.ror" in the display. M +3 -3 kcalcdisplay.cpp 1.21 --- kdeutils/kcalc/kcalcdisplay.cpp #1.20:1.21 @@ -280,5 +280,5 @@ void KCalcDisplay::setText(QString const // If we aren't in decimal mode, we don't need to modify the string - if (_num_base == NB_DECIMAL) + if (_num_base == NB_DECIMAL && !_error) { // Obtain decimal symbol and thousands separator @@ -302,5 +302,5 @@ void KCalcDisplay::setText(QString const QString KCalcDisplay::text() const { - if (_num_base != NB_DECIMAL) + if (_num_base != NB_DECIMAL || _error) return QLabel::text();