Skip to content

Commit 426c7cf

Browse files
authored
Merge pull request ElpadoCan#149 from SchmollerLab/main
Update base repository from Schmoller Lab fork
2 parents 8f6f13a + 716a962 commit 426c7cf

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

spotmax/gui.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -827,8 +827,11 @@ def reInitGui(self):
827827
self.addCustomAnnotationAction.setDisabled(True)
828828

829829
for toolButton in self.spotsItems.buttons:
830-
self.spotmaxToolbar.removeAction(toolButton.action)
831-
830+
try:
831+
toolButton.emitRemove()
832+
except Exception as e:
833+
pass
834+
832835
self.initSpotsItems()
833836

834837
try:

0 commit comments

Comments
 (0)