diff --git a/src/gui/PythonBridge/PythonRootBridge.qml b/src/gui/PythonBridge/PythonRootBridge.qml index 9045428d..1b233e34 100644 --- a/src/gui/PythonBridge/PythonRootBridge.qml +++ b/src/gui/PythonBridge/PythonRootBridge.qml @@ -7,6 +7,7 @@ PythonBridge { Component.onCompleted: { for (var func in eventHandlers) { if (! eventHandlers.hasOwnProperty(func)) continue + if (! func.startsWith("on")) continue setHandler(func.replace(/^on/, ""), eventHandlers[func]) }