remove duplicate handler for entry activation
This commit is contained in:
parent
40a598dca8
commit
e639e4c73d
@ -27,14 +27,6 @@
|
|||||||
:orientation Gtk.Orientation.VERTICAL
|
: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
|
(tset window :on_key_release_event
|
||||||
(fn [window event]
|
(fn [window event]
|
||||||
|
Loading…
Reference in New Issue
Block a user