Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Changing tab icon dynamically doesn't work anymore

    Hello,

    We are facing a bug since upgrade from 6.0-p20160528 to 6.0-p20171213.

    We are dynamically updating the icon of a tab (in a TabSet) depending on its pane content (if there is some important data in it, we use a "critical" icon).
    So at each data refresh, we are invoking this kind of code:

    poiTab.setIcon(ICON_POI_LOW);
    or
    poiTab.setIcon(ICON_POI_CRITICAL);

    The code is executed as usual, but the icon does not change anymore.
    The issue can be reproduced using last Firefox 57 or Chrome 63.

    Any idea ?

    #2
    Use TabSet.setTabIcon(tab, icon)

    Comment


      #3
      Thank you Isomorphic, the provided solution worked.

      Comment

      Working...
      X