mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:48:09 +02:00
fixed spamming from windowRoot.qml
This commit is contained in:
parent
8945b75cda
commit
b0130896d1
1 changed files with 4 additions and 2 deletions
|
@ -52,8 +52,10 @@ Windows.ScrollingWindow {
|
||||||
|
|
||||||
// used to receive messages from interface script
|
// used to receive messages from interface script
|
||||||
function fromScript(message) {
|
function fromScript(message) {
|
||||||
if (loader.item.hasOwnProperty("fromScript")) {
|
if (loader.item !== null) {
|
||||||
loader.item.fromScript(message);
|
if (loader.item.hasOwnProperty("fromScript")) {
|
||||||
|
loader.item.fromScript(message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue