mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 05:30:41 +02:00
Merge pull request #10959 from druiz17/bug/wrong-tablet-state
Fix tablet scripting interface setting its internal state to home when switching between toolbar and tablet mode
This commit is contained in:
commit
3b112450f0
1 changed files with 0 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue