mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 12:06:24 +00:00
Dialog fixes (#242)
* Fix dialog for purchase order line item * Fix other dialogs too * Update release noes
This commit is contained in:
parent
1ab3940e6a
commit
83da0638a8
4 changed files with 11 additions and 7 deletions
|
|
@ -258,6 +258,9 @@ class _PurchaseOrderDetailState extends RefreshableState<PurchaseOrderDetailWidg
|
|||
);
|
||||
}
|
||||
|
||||
/*
|
||||
* Display a context menu for a particular PurhaseOrderLineItem
|
||||
*/
|
||||
void lineItemMenu(BuildContext context, InvenTreePOLineItem lineItem) {
|
||||
|
||||
List<Widget> children = [];
|
||||
|
|
@ -303,8 +306,7 @@ class _PurchaseOrderDetailState extends RefreshableState<PurchaseOrderDetailWidg
|
|||
|
||||
children.insert(0, Divider());
|
||||
|
||||
showDialog(
|
||||
context: context,
|
||||
OneContext().showDialog(
|
||||
builder: (BuildContext context) {
|
||||
return SimpleDialog(
|
||||
title: Text(L10().lineItem),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue