Skip to content

Commit

Permalink
Pass signal args to blocks added by Access.on
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchas116 committed May 16, 2015
1 parent 5662e0c commit 87f7669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/qml/access.rb
Expand Up @@ -31,7 +31,7 @@ def initialize(*args, &block)
self.class.signal_infos.each do |name, info|
__send__(name).connect do |*args|
info.listeners.each do |listener|
instance_eval(&listener)
instance_exec(*args, &listener)
end
end
end
Expand Down

0 comments on commit 87f7669

Please sign in to comment.