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)
|
nameSelected(name)
|
||||||
close()
|
close()
|
||||||
}
|
}
|
||||||
|
namefield.forceActiveFocus()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Button {
|
Button {
|
||||||
text: qsTr("Cancel")
|
text: qsTr("Cancel")
|
||||||
onClicked: close()
|
onClicked: function() {
|
||||||
|
namefield.forceActiveFocus()
|
||||||
|
close()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user