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
|
@Override
|
||||||
public void updateUI() {
|
public void updateUI() {
|
||||||
refresh();
|
refresh();
|
||||||
bxRecentItems.invalidate();
|
if (bxRecentItems != null)
|
||||||
|
bxRecentItems.invalidate();
|
||||||
updateDesktopReference();
|
updateDesktopReference();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,7 +224,8 @@ public class DPRunningJobs extends DashboardPanel implements EventListener<Event
|
||||||
public void updateUI()
|
public void updateUI()
|
||||||
{
|
{
|
||||||
refresh();
|
refresh();
|
||||||
bxJobs.invalidate();
|
if (bxJobs != null)
|
||||||
|
bxJobs.invalidate();
|
||||||
updateDesktopReference();
|
updateDesktopReference();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -285,4 +286,4 @@ public class DPRunningJobs extends DashboardPanel implements EventListener<Event
|
||||||
MPInstance.postOnChangedEvent(message);
|
MPInstance.postOnChangedEvent(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue