samples/elaborate/klondike_solitaire/view/action_panel.rb in glimmer-dsl-swt-4.22.2.4 vs samples/elaborate/klondike_solitaire/view/action_panel.rb in glimmer-dsl-swt-4.22.2.5
- old
+ new
@@ -17,12 +17,12 @@
button {
layout_data :center, :center, true, false
text 'Restart Game'
- on_widget_selected {
+ on_widget_selected do
game.restart!
- }
+ end
}
}
}
end
end