Utils.makePopup(): allow setting different parent
This commit is contained in:
parent
e4f1cb6545
commit
1f12a19b48
|
@ -42,8 +42,9 @@ function makePopup(url, parent=null, properties={}, callback=null,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function debug(target, callback=null) {
|
function debug(target, parent=null, callback=null) {
|
||||||
return Utils.makeObject("DebugConsole.qml", target, { target }, callback)
|
parent = parent || target
|
||||||
|
return Utils.makeObject("DebugConsole.qml", parent, { target }, callback)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user