close data source summary on open geolocation

This commit is contained in:
Greg DiCristofaro 2020-12-28 13:25:36 -05:00
parent c1f83db7b8
commit 2ade01d676

View File

@ -223,6 +223,9 @@ public class GeolocationPanel extends BaseDataSourceSummaryPanel {
* common table).
*/
private void openGeolocationWindow(DataSource dataSource, Integer daysLimit) {
// notify dialog (if in dialog) should close.
notifyParentClose();
// set the filter
TopComponent topComponent = WindowManager.getDefault().findTopComponent(GeolocationTopComponent.class.getSimpleName());
if (topComponent instanceof GeolocationTopComponent) {