Fix toolbar appears on HMD mode

This commit is contained in:
luiscuenca 2018-01-08 20:37:07 -07:00
parent fab28e7d44
commit 319913e6af

View file

@ -7357,6 +7357,7 @@ void Application::updateThreadPoolCount() const {
}
void Application::updateSystemTabletMode() {
if (!_settingsLoaded) return;
qApp->setProperty(hifi::properties::HMD, isHMDMode());
if (isHMDMode()) {
DependencyManager::get<TabletScriptingInterface>()->setToolbarMode(getHmdTabletBecomesToolbarSetting());