Commit dbce3151 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳 Committed by LNJ

LoginPage: Connect when return key was pressed (#193)

parent aefd04c7
......@@ -131,6 +131,12 @@ Kirigami.Page {
textFormat: Text.RichText
}
}
// connect when return was pressed
Keys.onPressed: {
if (event.key === Qt.Key_Return || event.key === Qt.Key_Enter)
connectButton.clicked();
}
}
RowLayout {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment