Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java @ 529:a1048d310829
Changes in the chart theme panel will now have an effect on the themes stored at the collection.
flys-client/trunk@2017 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 27 May 2011 08:53:22 +0000 |
parents | 39d9291513cc |
children | c17c593f8732 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java Thu May 26 13:53:36 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java Fri May 27 08:53:22 2011 +0000 @@ -195,6 +195,9 @@ int row = event.getRowNum(); FacetRecord rec = (FacetRecord) list.getRecord(row); + Theme theme = rec.getTheme(); + theme.setActive(rec.getActive()); + updateThemeList(rec.getTheme()); } @@ -282,6 +285,8 @@ case 2: moveRecordsDown(records); break; case 3: moveRecordsBottom(records); break; } + + updateCollection(); }