diff --git a/res/controllers/Behringer-Extension-scripts.js b/res/controllers/Behringer-Extension-scripts.js index 17095652404..4c3ce199dbd 100644 --- a/res/controllers/Behringer-Extension-scripts.js +++ b/res/controllers/Behringer-Extension-scripts.js @@ -282,12 +282,12 @@ isEnabled: function() { return this.id !== 0; }, start: function() { this.reset(); - this.id = engine.beginTimer(this.timeout, function() { + this.id = engine.beginTimer(this.timeout, () => { if (this.oneShot) { this.disable(); } this.action.call(this.owner); - }.bind(this), this.oneShot); // .bind(this) is required instead of arrow function for Qt < 6.2.4 due to QTBUG-95677 + }, this.oneShot); }, reset: function() { if (this.isEnabled()) {