From 4a314a2bf7404e2f80bc6cc1d63b760b6099f441 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauld.mccarthy@gmail.com>
Date: Wed, 15 Jul 2015 10:43:25 +0100
Subject: [PATCH] pwidgets.EditableListBox has had an API updated. Associated
 changes in OverlayListPanel

---
 fsl/fslview/controls/overlaylistpanel.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fsl/fslview/controls/overlaylistpanel.py b/fsl/fslview/controls/overlaylistpanel.py
index 4059234d8..57ef7a0d3 100644
--- a/fsl/fslview/controls/overlaylistpanel.py
+++ b/fsl/fslview/controls/overlaylistpanel.py
@@ -203,7 +203,7 @@ class OverlayListPanel(fslpanel.FSLViewPanel):
         if name is None:
             name = ''
             
-        self._listBox.SetString(idx, name) 
+        self._listBox.SetItemLabel(idx, name) 
 
         
     def _overlayListChanged(self, *a):
-- 
GitLab