git-svn-id: svn://db.shs.com.ru/libs@340 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -188,7 +188,7 @@ void EvalSpinBox::setExpression(const QString & expr) {
|
|||||||
|
|
||||||
|
|
||||||
void EvalSpinBox::setValue(double val) {
|
void EvalSpinBox::setValue(double val) {
|
||||||
lineEdit()->setText(QString::number(val));
|
lineEdit()->setText(QString::number(val, 'G', 16));
|
||||||
//if (val == 0) lineEdit()->clear();
|
//if (val == 0) lineEdit()->clear();
|
||||||
cw->setVisible(text() != dt && cw_visible);
|
cw->setVisible(text() != dt && cw_visible);
|
||||||
setExpression_();
|
setExpression_();
|
||||||
|
|||||||
Reference in New Issue
Block a user