Merge pull request #11434 from Atlante45/fix/running-scripts-tablet

Fix RunningScripts in tablet mode
This commit is contained in:
Clément Brisset 2017-09-21 18:55:20 -07:00 committed by GitHub
commit ecca1fea93

View file

@ -400,6 +400,17 @@ Rectangle {
colorScheme: hifi.colorSchemes.dark
anchors.left: parent.left
anchors.right: parent.right
TableViewColumn {
role: "display";
}
onActivated: {
var path = scriptsModel.data(index, 0x100)
if (path) {
loadScript(path)
}
}
}
HifiControls.VerticalSpacer {
@ -426,13 +437,6 @@ Rectangle {
}
}
}
onActivated: {
var path = scriptsModel.data(index, 0x100)
if (path) {
loadScript(path)
}
}
}
Item {