mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-17 22:53:06 +00:00
12 lines
234 B
QML
12 lines
234 B
QML
import QtQuick 2.0
|
|
import QtQuick.Controls 2.2
|
|
|
|
MenuItem {
|
|
// Ensure focus can't be given to an invisible item
|
|
enabled: visible
|
|
height: visible ? implicitHeight : 0
|
|
|
|
Keys.onReturnPressed: {
|
|
triggered()
|
|
}
|
|
}
|