mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:18:05 +02:00
fix tapping menu when already at the top-level menu blanks the tablet
This commit is contained in:
parent
0cc317d13b
commit
965f9ab0a7
1 changed files with 5 additions and 2 deletions
|
@ -78,8 +78,11 @@ Item {
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
onEntered: breadcrumbText.color = "#1fc6a6";
|
onEntered: breadcrumbText.color = "#1fc6a6";
|
||||||
onExited: breadcrumbText.color = "#ffffff";
|
onExited: breadcrumbText.color = "#ffffff";
|
||||||
// navigate back to parent level menu
|
// navigate back to parent level menu if there is one
|
||||||
onClicked: menuPopperUpper.closeLastMenu();
|
onClicked:
|
||||||
|
if (breadcrumbText.text !== "Menu") {
|
||||||
|
menuPopperUpper.closeLastMenu();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue