From 6ec7b96693f506db9267dd3730dd46e1675a068e Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 26 Mar 2020 18:16:57 +0900 Subject: [PATCH] [qwaq] Initialize onEvent sigh --- ruamoko/qwaq/qwaq-editor.r | 1 - ruamoko/qwaq/qwaq-view.r | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ruamoko/qwaq/qwaq-editor.r b/ruamoko/qwaq/qwaq-editor.r index a7163c9b6..f45de395f 100644 --- a/ruamoko/qwaq/qwaq-editor.r +++ b/ruamoko/qwaq/qwaq-editor.r @@ -16,7 +16,6 @@ linebuffer = [DrawBuffer buffer: { xlen, 1 }]; growMode = gfGrowHi; options = ofCanFocus | ofRelativeEvents; - onEvent = [[ListenerGroup alloc] init]; return self; } diff --git a/ruamoko/qwaq/qwaq-view.r b/ruamoko/qwaq/qwaq-view.r index 1d5fb2e29..d7cbdb4a1 100644 --- a/ruamoko/qwaq/qwaq-view.r +++ b/ruamoko/qwaq/qwaq-view.r @@ -12,6 +12,7 @@ } onReceiveFocus = [[ListenerGroup alloc] init]; onReleaseFocus = [[ListenerGroup alloc] init]; + onEvent = [[ListenerGroup alloc] init]; return self; } @@ -24,6 +25,7 @@ self.absRect = rect; onReceiveFocus = [[ListenerGroup alloc] init]; onReleaseFocus = [[ListenerGroup alloc] init]; + onEvent = [[ListenerGroup alloc] init]; return self; }