From ee8802dd14eb1c5648c4e08fa5acb9a10e20d58b Mon Sep 17 00:00:00 2001 From: Milan Domazet Date: Mon, 2 Sep 2024 20:32:06 +0200 Subject: [PATCH] Minor clean --- js/roi/ROIMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/roi/ROIMenu.js b/js/roi/ROIMenu.js index c83e89cc2..539053c9f 100644 --- a/js/roi/ROIMenu.js +++ b/js/roi/ROIMenu.js @@ -111,8 +111,8 @@ class ROIMenu { label: 'Delete', click: () => { roiSet.removeFeature(feature) - this.browser.roiManager.deleteRegionWithKey(regionElement.dataset.region, this.browser.columnContainer) - this.browser.roiManager.repaintTable() + roiManager.deleteRegionWithKey(regionElement.dataset.region, columnContainer) + roiManager.repaintTable() } } )