diff --git a/src/gui/PythonBridge/PythonBridge.qml b/src/gui/PythonBridge/PythonBridge.qml index f735278e..c2a51d42 100644 --- a/src/gui/PythonBridge/PythonBridge.qml +++ b/src/gui/PythonBridge/PythonBridge.qml @@ -9,6 +9,9 @@ Python { id: py + readonly property var pendingCoroutines: Globals.pendingCoroutines + + function makeFuture(callback) { return Qt.createComponent("Future.qml").createObject(py, {bridge: py}) }