fixed tablet getting in the wrong state

This commit is contained in:
Dante Ruiz 2017-07-12 21:09:54 +01:00
parent d347eab42c
commit e07b067d7b

View file

@ -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));