lib/glimmer/tk/radiobutton_proxy.rb in glimmer-dsl-tk-0.0.24 vs lib/glimmer/tk/radiobutton_proxy.rb in glimmer-dsl-tk-0.0.25

- old
+ new

@@ -29,10 +29,10 @@ # Follows the Proxy Design Pattern class RadiobuttonProxy < WidgetProxy include Commandable def sibling_radio_buttons - @parent_proxy.children.select {|child| child.is_a?(RadiobuttonProxy)} + @parent_proxy.children.select {|child| child.is_a?(RadiobuttonProxy) && child != self} end private def initialize_defaults