From e639e4c73d3e04bdbbd1492625bcc665a241cd2e Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 23 Dec 2022 19:45:37 +0000 Subject: [PATCH] remove duplicate handler for entry activation --- frame.fnl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frame.fnl b/frame.fnl index 20f90b5..e90d07d 100644 --- a/frame.fnl +++ b/frame.fnl @@ -27,14 +27,6 @@ :orientation Gtk.Orientation.VERTICAL }) ] - (tset Command.widget :on_activate - (fn [event] - (let [result (Command.on-input event.text)] - (set Command.widget.placeholder_text - (or result.prompt "")) - (set Command.widget.sensitive result.active) - (set Command.widget.text - (or result.default result.error ""))))) (tset window :on_key_release_event (fn [window event]