mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 20:21:16 +02:00
Add an "Open Project Folder" button
This commit is contained in:
parent
30c63fc305
commit
977d498004
1 changed files with 16 additions and 0 deletions
|
@ -128,6 +128,22 @@ Item {
|
||||||
onClicked: AvatarPackagerCore.currentAvatarProject.openInInventory()
|
onClicked: AvatarPackagerCore.currentAvatarProject.openInInventory()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// FIXME: Remove if "Upload" button is reinstated.
|
||||||
|
HifiControls.Button {
|
||||||
|
id: openDirectoryButton
|
||||||
|
visible: AvatarPackagerCore.currentAvatarProject
|
||||||
|
enabled: true
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
anchors.right: parent.right
|
||||||
|
text: qsTr("Open Project Folder")
|
||||||
|
color: hifi.buttons.blue
|
||||||
|
colorScheme: root.colorScheme
|
||||||
|
width: 200
|
||||||
|
height: 40
|
||||||
|
onClicked: {
|
||||||
|
fileDialogHelper.openDirectory(fileDialogHelper.pathToUrl(AvatarPackagerCore.currentAvatarProject.projectFolderPath));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
Loading…
Reference in a new issue