mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
Make attachment model browser dialog modal
This commit is contained in:
parent
01c313ad60
commit
7504c124e4
1 changed files with 7 additions and 0 deletions
|
@ -93,7 +93,14 @@ Item {
|
|||
browser = tabletModelBrowserBuilder.createObject(tabletRoot);
|
||||
browser.selected.connect(function(newModelUrl){
|
||||
modelUrl.text = newModelUrl;
|
||||
tabletRoot.openModal = null;
|
||||
});
|
||||
browser.canceled.connect(function() {
|
||||
tabletRoot.openModal = null;
|
||||
});
|
||||
|
||||
// Make dialog modal.
|
||||
tabletRoot.openModal = browser;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue