From e07b067d7b0be083bb8301005d44cb9c01563f8c Mon Sep 17 00:00:00 2001 From: Dante Ruiz Date: Wed, 12 Jul 2017 21:09:54 +0100 Subject: [PATCH] fixed tablet getting in the wrong state --- libraries/ui/src/ui/TabletScriptingInterface.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/ui/src/ui/TabletScriptingInterface.cpp b/libraries/ui/src/ui/TabletScriptingInterface.cpp index 857cae15cc..76f290f17e 100644 --- a/libraries/ui/src/ui/TabletScriptingInterface.cpp +++ b/libraries/ui/src/ui/TabletScriptingInterface.cpp @@ -227,7 +227,6 @@ void TabletProxy::setToolbarMode(bool toolbarMode) { // forward qml surface events to interface js connect(tabletRootWindow, &QmlWindowClass::fromQml, this, &TabletProxy::fromQml); } else { - _state = State::Home; removeButtonsFromToolbar(); addButtonsToHomeScreen(); emit screenChanged(QVariant("Home"), QVariant(TABLET_SOURCE_URL));