Skip to content

Commit

Permalink
Ensure to add child controls of container controls added after the wi…
Browse files Browse the repository at this point in the history
…ndows is opened. Fixes #60.
  • Loading branch information
thomthom committed Sep 29, 2013
1 parent 69a67f7 commit 4ecf071
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SKUI/control_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def add_control( control )
# Add to Webdialog
if self.window && self.window.visible?
self.window.bridge.add_control( control )
if control.is_a?(ControlManager)
self.window.bridge.add_container( control )
end
return true
end
false
Expand Down

0 comments on commit 4ecf071

Please sign in to comment.