details: /erp/devel/pi/rev/a118398e5441
changeset: 11491:a118398e5441
user: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
date: Tue Apr 05 16:51:32 2011 +0200
summary: [OBUIAPP] Filter out deactivated tabs.
diffstat:
modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationUtils.java
| 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r ac20cbe4c16c -r a118398e5441
modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationUtils.java
---
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationUtils.java
Tue Apr 05 16:31:16 2011 +0200
+++
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationUtils.java
Tue Apr 05 16:51:32 2011 +0200
@@ -69,6 +69,9 @@
}
for (Tab tab : window.getADTabList()) {
+ if (!tab.isActive()) {
+ continue;
+ }
if (tab.getSQLWhereClause() != null && tab.getHqlwhereclause() == null) {
// There is a tab with a SQL whereclause, but without a defined HQL
whereclause
reasonsOfWindow.add(" The tab " + tab.getName() + " of the window "
+ window.getName()
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits