mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-19 21:24:06 +02:00
Add icon to title
This commit is contained in:
parent
88130ee5c8
commit
c21087ad87
1 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,8 @@ ModalWindow {
|
|||
// Set from OffscreenUi::getOpenFile()
|
||||
property int options; // <-- FIXME unused
|
||||
|
||||
property string iconText: text !== "" ? hifi.glyphs.scriptUpload : ""
|
||||
property int iconSize: 40
|
||||
|
||||
property bool selectDirectory: false;
|
||||
property bool showHidden: false;
|
||||
|
@ -69,6 +71,8 @@ ModalWindow {
|
|||
drivesSelector.onCurrentTextChanged.connect(function(){
|
||||
root.dir = helper.pathToUrl(drivesSelector.currentText);
|
||||
})
|
||||
|
||||
iconText = root.title !== "" ? hifi.glyphs.scriptUpload : "";
|
||||
}
|
||||
|
||||
Item {
|
||||
|
|
Loading…
Reference in a new issue