MENU key shortcut was broken on Taranis since approximately forever

This commit is contained in:
Andre Bernet
2015-03-09 23:56:36 +04:00
parent 4bd71c8a62
commit 24d67c44ea
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class xcursorWidget : public QWidget {
if (event->button()==Qt::LeftButton) {
if (pnpoly(6,p1x,p1y,(float)x,(float)y)==1) {
setStyleSheet("background:url(:/images/x9l1.png);");
emit buttonPressed(Qt::Key_Menu);
emit buttonPressed(Qt::Key_PageUp);
}
else if (pnpoly(6,p2x,p2y,(float)x,(float)y)==1) {
setStyleSheet("background:url(:/images/x9l2.png);");