1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-31 02:01:19 +00:00

Fix wrong initial focus

https://github.com/Swordfish90/cool-retro-term/issues/733
This commit is contained in:
Attacktive 2022-07-07 01:40:50 +09:00
parent f157648d1e
commit 130533dd1e

View File

@ -82,11 +82,15 @@ Window {
nameSelected(name)
close()
}
namefield.forceActiveFocus()
}
}
Button {
text: qsTr("Cancel")
onClicked: close()
onClicked: function() {
namefield.forceActiveFocus()
close()
}
}
}
}