Skip to content
Snippets Groups Projects
Commit c893e8b3 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Little fix to LookupTablePanel -potential attempt to access the Display

instance for an overlay that has been removed from the overlay list
parent 39ab62a8
No related branches found
No related tags found
No related merge requests found
......@@ -199,7 +199,8 @@ class LookupTablePanel(fslpanel.FSLViewPanel):
if self.__selectedOverlay == newOverlay:
return
if self.__selectedOverlay is not None:
if self.__selectedOverlay is not None and \
self.__selectedOverlay in self._overlayList:
display = self._displayCtx.getDisplay(self.__selectedOverlay)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment