+ fix focus issue with QuantitySpinBox and InputField
This commit is contained in:
@@ -485,6 +485,8 @@ void InputField::focusInEvent(QFocusEvent * event)
|
||||
if (!this->hasSelectedText())
|
||||
selectNumber();
|
||||
}
|
||||
|
||||
QLineEdit::focusInEvent(event);
|
||||
}
|
||||
|
||||
void InputField::keyPressEvent(QKeyEvent *event)
|
||||
|
||||
Reference in New Issue
Block a user