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:
parent
f157648d1e
commit
130533dd1e
@ -82,11 +82,15 @@ Window {
|
||||
nameSelected(name)
|
||||
close()
|
||||
}
|
||||
namefield.forceActiveFocus()
|
||||
}
|
||||
}
|
||||
Button {
|
||||
text: qsTr("Cancel")
|
||||
onClicked: close()
|
||||
onClicked: function() {
|
||||
namefield.forceActiveFocus()
|
||||
close()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user