mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
Merge pull request #13854 from wayne-chen/fixTabletButton-case-16847
MS16847: Tablet button doesn't load in HMD mode
This commit is contained in:
commit
47ce8be526
2 changed files with 5 additions and 3 deletions
|
@ -140,8 +140,7 @@ int TabletButtonsProxyModel::buttonIndex(const QString &uuid) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
void TabletButtonsProxyModel::setPageIndex(int pageIndex)
|
||||
{
|
||||
void TabletButtonsProxyModel::setPageIndex(int pageIndex) {
|
||||
if (_pageIndex == pageIndex)
|
||||
return;
|
||||
|
||||
|
@ -465,6 +464,9 @@ void TabletProxy::onTabletShown() {
|
|||
_showRunningScripts = false;
|
||||
pushOntoStack("hifi/dialogs/TabletRunningScripts.qml");
|
||||
}
|
||||
if (_currentPathLoaded == TABLET_HOME_SOURCE_URL) {
|
||||
loadHomeScreen(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -306,7 +306,7 @@
|
|||
}
|
||||
wantsMenu = clicked;
|
||||
});
|
||||
|
||||
|
||||
clickMapping.from(Controller.Standard.Start).peek().to(function (clicked) {
|
||||
if (clicked) {
|
||||
//activeHudPoint2dGamePad();
|
||||
|
|
Loading…
Reference in a new issue