forked from firka/flutter
Fix issue #34 Clicking on "Autorefresh" menu item does not click checkbox
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user