mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
making code review changes
This commit is contained in:
parent
5d570f030f
commit
eb01b50e6f
1 changed files with 3 additions and 3 deletions
|
@ -69,7 +69,7 @@ Item {
|
|||
id: stack
|
||||
initialItem: inputConfiguration
|
||||
property alias messageVisible: imageMessageBox.visible
|
||||
property alias selectedPlugin: box.currentText
|
||||
property alias selectedPlugin: box.textAt(box.currentIndex)
|
||||
Rectangle {
|
||||
id: inputConfiguration
|
||||
anchors {
|
||||
|
@ -229,10 +229,10 @@ Item {
|
|||
id: loader
|
||||
asynchronous: false
|
||||
anchors.fill: parent
|
||||
source: InputConfiguration.configurationLayout(box.currentText);
|
||||
source: InputConfiguration.configurationLayout(box.textAt(box.currentIndex));
|
||||
onLoaded: {
|
||||
if (loader.item.hasOwnProperty("pluginName")) {
|
||||
if (box.currentText === "HTC Vive") {
|
||||
if (box.textAt(box.currentIndex) === "HTC Vive") {
|
||||
loader.item.pluginName = "OpenVR";
|
||||
} else {
|
||||
loader.item.pluginName = box.textAt(box.currentIndex);
|
||||
|
|
Loading…
Reference in a new issue