From 79aa29cb7a577e4452fe3436b9dd767f3873b0b0 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Sun, 4 Oct 2020 09:47:59 +0200 Subject: [PATCH] fixed toggle --- pype/tools/pyblish_pype/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pype/tools/pyblish_pype/widgets.py b/pype/tools/pyblish_pype/widgets.py index 2a9b66a5a2..4da759899e 100644 --- a/pype/tools/pyblish_pype/widgets.py +++ b/pype/tools/pyblish_pype/widgets.py @@ -328,7 +328,7 @@ class PerspectiveWidget(QtWidgets.QWidget): self.records.toggle_content(len_records > 0) def toggle_me(self): - self.parent_widget.toggle_perspective_widget() + self.parent_widget.parent().toggle_perspective_widget() class ClickableWidget(QtWidgets.QLabel):