mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-07 13:30:36 +02:00
cant call gotohomescreen when tablet is closed
This commit is contained in:
parent
5223f872c1
commit
5156564f04
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ void TabletProxy::loadQMLSource(const QVariant& path) {
|
|||
}
|
||||
|
||||
void TabletProxy::gotoHomeScreen() {
|
||||
if (_state != State::Home) {
|
||||
if (_state != State::Home || _state != State::Uninitialized) {
|
||||
if (!_toolbarMode && _qmlTabletRoot) {
|
||||
auto loader = _qmlTabletRoot->findChild<QQuickItem*>("loader");
|
||||
QObject::connect(loader, SIGNAL(loaded()), this, SLOT(addButtonsToHomeScreen()), Qt::DirectConnection);
|
||||
|
|
Loading…
Reference in a new issue