Commit 5a12bd16 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applets/calculator: read the answer after pressing `=`

parent 15ed1170
Pipeline #211619 passed with stage
in 1 minute and 28 seconds
......@@ -87,6 +87,7 @@ QQC2.Control {
case Qt.Key_Return:
case Qt.Key_Enter:
equalsClicked();
display.forceActiveFocus();
break;
default:
if (event.matches(StandardKey.Copy)) {
......@@ -274,6 +275,8 @@ QQC2.Control {
horizontalAlignment: TextEdit.AlignRight;
verticalAlignment: TextEdit.AlignVCenter;
readOnly: true;
Accessible.description: text
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment