mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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