Skip to content
This repository has been archived by the owner on Feb 25, 2025. It is now read-only.

Commit

Permalink
Merge pull request #87 from collinjackson/issue_34
Browse files Browse the repository at this point in the history
Fix issue #34 Clicking on "Autorefresh" menu item does not click checkbox

R=abarth
  • Loading branch information
collinjackson committed Jul 17, 2015
2 parents a19fdb4 + 609595a commit b38f24a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sky/sdk/example/stocks/lib/stock_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ class StockMenu extends Component {
items: [
new PopupMenuItem(child: new Text('Add stock')),
new PopupMenuItem(child: new Text('Remove stock')),
new PopupMenuItem(child: new Flex([new Flexible(child: new Text('Autorefresh')), checkbox])),
new PopupMenuItem(
onPressed: () => onAutorefreshChanged(!autorefresh),
child: new Flex([new Flexible(child: new Text('Autorefresh')), checkbox])
),
],
level: 4,
showing: showing,
Expand Down

0 comments on commit b38f24a

Please sign in to comment.