Skip to content

Commit

Permalink
Show cell outline in orientation even without evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbhr committed Jan 20, 2025
1 parent 4b34cf9 commit a3d0df4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions saenopy/gui/orientation/modules/TabCellOutline.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class TabCellOutline(TabModule):

def __init__(self, parent: "BatchEvaluate"):
super().__init__(parent)

# self.update_display()
with self.parent.tabs.createTab("Segmentation Deformations") as self.tab:
with QtShortCuts.QVBoxLayout() as layout:
#self.label_tab = QtWidgets.QLabel(
Expand Down Expand Up @@ -58,8 +58,8 @@ def setResult(self, result: ResultOrientation):
self.update_display()

def update_display(self, *, plotter=None):
if self.result is None:
return
# if self.result is None:
# return
#if self.current_tab_selected is False:
# return

Expand All @@ -85,5 +85,4 @@ def update_display(self, *, plotter=None):
path = QtGui.QPainterPath()
self.contour.setPath(path)
self.center.setVisible(False)

return None

0 comments on commit a3d0df4

Please sign in to comment.