Skip to content

Commit

Permalink
merged Swordfish90#734: Improve Focus
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2801 committed Aug 14, 2024
1 parent 2ccc679 commit c280e32
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/qml/InsertNameDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,15 @@ Window {
nameSelected(name)
close()
}
nameField.forceActiveFocus()
}
}
Button {
text: qsTr("Cancel")
onClicked: close()
onClicked: function() {
nameField.forceActiveFocus()
close()
}
}
}
}
Expand Down

0 comments on commit c280e32

Please sign in to comment.