From e4fd8fb26769a2879ff6a348c1f0eb82760c15b1 Mon Sep 17 00:00:00 2001 From: Olivier Winter Date: Mon, 11 Nov 2024 09:39:13 +0000 Subject: [PATCH] small bugfix on atlas viewer --- atlasview/atlasview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atlasview/atlasview.py b/atlasview/atlasview.py index 7c6dd79..e737dd6 100644 --- a/atlasview/atlasview.py +++ b/atlasview/atlasview.py @@ -196,8 +196,8 @@ def mouseMoveEvent(self, scenepos): self.label_region.setText("") self.label_acronym.setText("") else: - self.label_region.setText(region['name'][0]) - self.label_acronym.setText(region['acronym'][0]) + self.label_region.setText(region['name']) + self.label_acronym.setText(region['acronym']) def replace_image_layer(self, index, **kwargs): if index and len(self.imageItem) >= index: