mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 21:15:07 +02:00
Fix for black screen when clicking Settings from Snap app
This commit is contained in:
parent
b1790cccbe
commit
d5e3b97c93
2 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ Item {
|
||||||
if (isWebPage) {
|
if (isWebPage) {
|
||||||
var webUrl = tabletApps.get(currentApp).appWebUrl;
|
var webUrl = tabletApps.get(currentApp).appWebUrl;
|
||||||
var scriptUrl = tabletApps.get(currentApp).scriptUrl;
|
var scriptUrl = tabletApps.get(currentApp).scriptUrl;
|
||||||
loadSource("TabletWebView.qml");
|
loadSource("hifi/tablet/TabletWebView.qml");
|
||||||
loadWebUrl(webUrl, scriptUrl);
|
loadWebUrl(webUrl, scriptUrl);
|
||||||
} else {
|
} else {
|
||||||
loader.load(tabletApps.get(currentApp).appUrl);
|
loader.load(tabletApps.get(currentApp).appUrl);
|
||||||
|
|
|
@ -121,7 +121,7 @@ function onMessage(message) {
|
||||||
|| (!HMD.active && Settings.getValue("desktopTabletBecomesToolbar", true))) {
|
|| (!HMD.active && Settings.getValue("desktopTabletBecomesToolbar", true))) {
|
||||||
Desktop.show("hifi/dialogs/GeneralPreferencesDialog.qml", "GeneralPreferencesDialog");
|
Desktop.show("hifi/dialogs/GeneralPreferencesDialog.qml", "GeneralPreferencesDialog");
|
||||||
} else {
|
} else {
|
||||||
tablet.loadQMLOnTop("TabletGeneralPreferences.qml");
|
tablet.loadQMLOnTop("hifi/tablet/TabletGeneralPreferences.qml");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'captureStillAndGif':
|
case 'captureStillAndGif':
|
||||||
|
|
Loading…
Reference in a new issue