Mercurial > wow > wowdb-profiler
comparison Comments.lua @ 265:726e8a94391d
Hide the link dialog when pressing Enter/Return.
author | James D. Callahan III <jcallahan@curse.com> |
---|---|
date | Tue, 19 Mar 2013 23:56:57 -0500 |
parents | 58b090074eda |
children | d2f7737fd68b |
comparison
equal
deleted
inserted
replaced
264:58b090074eda | 265:726e8a94391d |
---|---|
39 editboxes = { | 39 editboxes = { |
40 { | 40 { |
41 text = _G.UNKNOWN, | 41 text = _G.UNKNOWN, |
42 on_escape_pressed = function(self) | 42 on_escape_pressed = function(self) |
43 self:ClearFocus() | 43 self:ClearFocus() |
44 end, | |
45 on_enter_pressed = function(self) | |
46 self:GetParent().buttons[1]:Click() | |
44 end, | 47 end, |
45 }, | 48 }, |
46 }, | 49 }, |
47 buttons = { | 50 buttons = { |
48 { | 51 { |