Skip to content
Snippets Groups Projects
Commit 6bae2590 authored by Jan Kožusznik's avatar Jan Kožusznik
Browse files

style: unify operation style

parent 7ae949cd
No related branches found
No related tags found
1 merge request!14Iss1026
...@@ -59,9 +59,7 @@ public class TableViewContextMenu<T> { ...@@ -59,9 +59,7 @@ public class TableViewContextMenu<T> {
T requestedItem = getRequestedItem(); T requestedItem = getRequestedItem();
updateColumnIndex(event.getSceneX()); updateColumnIndex(event.getSceneX());
int column = getRequestedColumn(); int column = getRequestedColumn();
for (P_MenuItem item : items) { items.forEach(item -> item.updateEnable(requestedItem));
item.updateEnable(requestedItem);
}
itemsWithColumnIndex.forEach(item -> item.updateEnable(requestedItem, column)); itemsWithColumnIndex.forEach(item -> item.updateEnable(requestedItem, column));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment