IDEMPIERE-4665 : Toolbar: Select Query cannot be hidden (#546)
This commit is contained in:
parent
6c9e957e81
commit
9413a8a2f5
|
@ -91,7 +91,7 @@ public class ADWindowToolbar extends FToolbar implements EventListener<Event>
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -8494819673584541046L;
|
||||
private static final long serialVersionUID = -5151981978053022864L;
|
||||
|
||||
public static final String BTNPREFIX = "Btn";
|
||||
|
||||
|
@ -870,6 +870,12 @@ public class ADWindowToolbar extends FToolbar implements EventListener<Event>
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (p instanceof Combobox) {
|
||||
if (restrictName.equals(((Combobox) p).getId())) {
|
||||
this.removeChild(p);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // All restrictions
|
||||
|
|
Loading…
Reference in New Issue