Bug fix for TabletProxy::loadQMLSource()

This commit is contained in:
Anthony J. Thibault 2017-02-08 18:56:16 -08:00
parent c2b832fb9c
commit b3a46c3518

View file

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