提交 609595ab 编写于 作者: C Collin Jackson

Fix issue #34 Clicking on "Autorefresh" menu item does not click checkbox

上级 a19fdb4a
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册