mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-17 05:58:28 +02:00
Merge pull request #15714 from hyperlogic/bug-fix/settings-on-tablet
Fix crash using Settings in the Tablet in VR
This commit is contained in:
commit
d6331d1bf6
1 changed files with 4 additions and 1 deletions
|
@ -49,7 +49,10 @@ Item {
|
|||
}
|
||||
|
||||
function pushSource(path) {
|
||||
d.push(Qt.resolvedUrl("../../" + path));
|
||||
// Workaround issue https://bugreports.qt.io/browse/QTBUG-75516 in Qt 5.12.3
|
||||
// by creating the manually, instead of letting StackView do it for us.
|
||||
var item = Qt.createComponent(Qt.resolvedUrl("../../" + path));
|
||||
d.push(item);
|
||||
if (d.currentItem.sendToScript !== undefined) {
|
||||
d.currentItem.sendToScript.connect(tabletMenu.sendToScript);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue