Showing the changes to libraries/script-engine/src/TabletScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -229,6 +229,7 @@ void TabletProxy::gotoMenuScreen() { · 228 unmodified lines | ||
| 229 | 229 | void TabletProxy::loadQMLSource(const QVariant& path) { |
| 230 | 230 | if (_qmlTabletRoot) { |
| 231 | 231 | if (_state != State::QML) { |
| 232 | + removeButtonsFromHomeScreen(); | |
| 232 | 233 | QMetaObject::invokeMethod(_qmlTabletRoot, "loadSource", Q_ARG(const QVariant&, path)); |
| 233 | 234 | _state = State::QML; |
| 234 | 235 | emit screenChanged(QVariant("QML"), path); |