IDEMPIERE-4988 Fix NPE on changeRole
This commit is contained in:
parent
4759ae5c2b
commit
0192bca743
|
@ -310,7 +310,8 @@ public class DPRecentItems extends DashboardPanel implements EventListener<Event
|
|||
@Override
|
||||
public void updateUI() {
|
||||
refresh();
|
||||
bxRecentItems.invalidate();
|
||||
if (bxRecentItems != null)
|
||||
bxRecentItems.invalidate();
|
||||
updateDesktopReference();
|
||||
|
||||
}
|
||||
|
|
|
@ -224,7 +224,8 @@ public class DPRunningJobs extends DashboardPanel implements EventListener<Event
|
|||
public void updateUI()
|
||||
{
|
||||
refresh();
|
||||
bxJobs.invalidate();
|
||||
if (bxJobs != null)
|
||||
bxJobs.invalidate();
|
||||
updateDesktopReference();
|
||||
}
|
||||
|
||||
|
@ -285,4 +286,4 @@ public class DPRunningJobs extends DashboardPanel implements EventListener<Event
|
|||
MPInstance.postOnChangedEvent(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue