Commit 30e3b58d authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applet: fix menu key not working

parent d82e74a8
Pipeline #219154 passed with stage
in 1 minute and 7 seconds
......@@ -424,7 +424,8 @@ PC3.ItemDelegate {
defaultButton.clicked();
}
} else if (k === Qt.Key_Menu) {
contextMenuButton.clicked();
contextMenu.visualParent = contextMenuButton;
contextMenu.openRelative();
} else {
return; // don't accept the key press
}
......
Supports Markdown
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