mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 21:40:06 +00:00
Clear Add PC textbox when closing the dialog
This commit is contained in:
1 parent
add4b582b5
commit
7cf70b9607
1 file changed
+4
@@ -413,6 +413,10 @@ ApplicationWindow {
|
||||
editText.forceActiveFocus()
|
||||
}
|
||||
|
||||
onClosed: {
|
||||
editText.clear()
|
||||
}
|
||||
|
||||
onAccepted: {
|
||||
if (editText.text) {
|
||||
ComputerManager.addNewHost(editText.text, false)
|
||||
|
||||
Reference in new issue
Block a user