File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
app/databrowser/src/main/java/org/csstudio/trends/databrowser3/model Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -243,14 +243,19 @@ public void addArchiveDataSource(final ArchiveDataSource archs[])
243243 public void removeArchiveDataSource (final ArchiveDataSource archive )
244244 {
245245 // Archive removed -> (Probably) no need to get new data
246- archives .remove (archive );
246+ if (archives .remove (archive ))
247+ fireItemDataConfigChanged (false );
247248 }
248249
249250 /** @param archs Archives to remove as a source from this item. Ignored when not used. */
250251 public void removeArchiveDataSource (final List <ArchiveDataSource > archs )
251252 {
253+ boolean change = false ;
252254 for (ArchiveDataSource archive : archs )
253- archives .remove (archive );
255+ if (archives .remove (archive ))
256+ change = true ;
257+ if (change )
258+ fireItemDataConfigChanged (false );
254259 }
255260
256261 /** Replace existing archive data sources with given archives
You can’t perform that action at this time.
0 commit comments