Skip to content
Snippets Groups Projects
Commit f1ccd6fb authored by Lars Kanis's avatar Lars Kanis
Browse files

Fix initialisation of runOnUiThread event handler, when FXApp is called with a block.

parent 50942b89
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,9 @@ module Fox
alias initialize_before_thread initialize # :nodoc:
def initialize(*args, &block)
initialize_before_thread(*args, &block)
initialize_before_thread(*args)
event_handler_setup
block.call(self) if block_given?
end
def runOnUiThread(&block)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment