git-svn-id: svn://db.shs.com.ru/libs@543 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -256,7 +256,7 @@ void EvalSpinBox::focusInEvent(QFocusEvent * event) {
|
|||||||
status->show();
|
status->show();
|
||||||
lineEdit()->blockSignals(true);
|
lineEdit()->blockSignals(true);
|
||||||
lineEdit()->setStyleSheet("");
|
lineEdit()->setStyleSheet("");
|
||||||
//if (eval.expression() != "0") lineEdit()->setText(eval.expression());
|
if (eval.expression() == "0") lineEdit()->clear();
|
||||||
lineEdit()->blockSignals(false);
|
lineEdit()->blockSignals(false);
|
||||||
QAbstractSpinBox::focusInEvent(event);
|
QAbstractSpinBox::focusInEvent(event);
|
||||||
resizeIcons();
|
resizeIcons();
|
||||||
|
|||||||
Reference in New Issue
Block a user