From 06a69c8bd72ca1f01cc3e60303530249ae590e34 Mon Sep 17 00:00:00 2001 From: Dante Ruiz Date: Tue, 18 Jul 2017 20:27:55 +0100 Subject: [PATCH] fixed another tablet stuck on help screen --- libraries/ui/src/ui/TabletScriptingInterface.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/ui/src/ui/TabletScriptingInterface.cpp b/libraries/ui/src/ui/TabletScriptingInterface.cpp index 76f290f17e..496095de79 100644 --- a/libraries/ui/src/ui/TabletScriptingInterface.cpp +++ b/libraries/ui/src/ui/TabletScriptingInterface.cpp @@ -226,9 +226,12 @@ void TabletProxy::setToolbarMode(bool toolbarMode) { // forward qml surface events to interface js connect(tabletRootWindow, &QmlWindowClass::fromQml, this, &TabletProxy::fromQml); + loadHomeScreen(true); + emit screenChanged(QVariant("Home"), QVariant(TABLET_SOURCE_URL)); } else { removeButtonsFromToolbar(); addButtonsToHomeScreen(); + loadHomeScreen(true); emit screenChanged(QVariant("Home"), QVariant(TABLET_SOURCE_URL)); // destroy desktop window