diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-13 03:36:45 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-13 03:36:45 +0800 |
commit | 34689cb3f369ad71164b81d0c05238d78cb67945 (patch) | |
tree | 63b0d68be8d3d719e3a46ef73d39bb49b6de9f5f /ui | |
parent | 8a1b51c716abdc21a8af43282e106d77eda3706b (diff) | |
download | dexon-34689cb3f369ad71164b81d0c05238d78cb67945.tar dexon-34689cb3f369ad71164b81d0c05238d78cb67945.tar.gz dexon-34689cb3f369ad71164b81d0c05238d78cb67945.tar.bz2 dexon-34689cb3f369ad71164b81d0c05238d78cb67945.tar.lz dexon-34689cb3f369ad71164b81d0c05238d78cb67945.tar.xz dexon-34689cb3f369ad71164b81d0c05238d78cb67945.tar.zst dexon-34689cb3f369ad71164b81d0c05238d78cb67945.zip |
Added manual triggering of filters
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/qwhisper/whisper.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt/qwhisper/whisper.go b/ui/qt/qwhisper/whisper.go index 8b4628a1b..becb2a29b 100644 --- a/ui/qt/qwhisper/whisper.go +++ b/ui/qt/qwhisper/whisper.go @@ -84,6 +84,10 @@ func (self *Whisper) Watch(opts map[string]interface{}, view *qml.Common) int { return i } +func (self *Whisper) Trigger(id int) { + go self.Whisper.Trigger(id) +} + func filterFromMap(opts map[string]interface{}) (f whisper.Filter) { if to, ok := opts["to"].(string); ok { f.To = crypto.ToECDSA(fromHex(to)) |