Skip to content

Commit 1354c12

Browse files
committed
update orthos in 3d gui when checkboxes toggled
1 parent b1f012f commit 1354c12

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cellpose/gui/gui3d.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,10 @@ def __init__(self, image=None, logger=None):
208208
self.l0.addWidget(self.orthobtn, b, 0, 1, 2)
209209
self.orthobtn.toggled.connect(self.toggle_ortho)
210210

211+
# connect the ortho masks and outlines:
212+
self.MCheckBox.toggled.connect(self.update_ortho)
213+
self.OCheckBox.toggled.connect(self.update_ortho)
214+
211215
label = QLabel("dz:")
212216
label.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignVCenter)
213217
label.setFont(self.medfont)

0 commit comments

Comments
 (0)