IDEMPIERE-129 Restrictions on Toolbar and Menu - Cleanup debug lines
http://jira.idempiere.com/browse/IDEMPIERE-129
This commit is contained in:
parent
69875e9083
commit
7b08667d3f
|
@ -660,7 +660,6 @@ public class CWindowToolbar extends FToolbar implements EventListener
|
||||||
|
|
||||||
for (Component p = this.getFirstChild(); p != null; p = p.getNextSibling()) {
|
for (Component p = this.getFirstChild(); p != null; p = p.getNextSibling()) {
|
||||||
if (p instanceof ToolBarButton) {
|
if (p instanceof ToolBarButton) {
|
||||||
System.out.println(((ToolBarButton)p).getName());
|
|
||||||
if ( restrictName.equals(((ToolBarButton)p).getName()) ) {
|
if ( restrictName.equals(((ToolBarButton)p).getName()) ) {
|
||||||
this.removeChild(p);
|
this.removeChild(p);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue