mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-17 05:24:32 +02:00
Bug fix for TabletProxy::loadQMLSource()
This commit is contained in:
parent
c2b832fb9c
commit
b3a46c3518
1 changed files with 1 additions and 0 deletions
|
@ -229,6 +229,7 @@ void TabletProxy::gotoMenuScreen() {
|
|||
void TabletProxy::loadQMLSource(const QVariant& path) {
|
||||
if (_qmlTabletRoot) {
|
||||
if (_state != State::QML) {
|
||||
removeButtonsFromHomeScreen();
|
||||
QMetaObject::invokeMethod(_qmlTabletRoot, "loadSource", Q_ARG(const QVariant&, path));
|
||||
_state = State::QML;
|
||||
emit screenChanged(QVariant("QML"), path);
|
||||
|
|
Loading…
Reference in a new issue