mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fixed terminal visibility for perspective widget
This commit is contained in:
parent
424ca4181d
commit
a7f7efa470
1 changed files with 6 additions and 2 deletions
|
|
@ -720,10 +720,14 @@ class Window(QtWidgets.QDialog):
|
|||
):
|
||||
target = self.state["current_page"]
|
||||
comment_visibility = (
|
||||
not target == "terminal"
|
||||
not self.perspective_widget.isVisible()
|
||||
and not target == "terminal"
|
||||
and self.comment_box.isEnabled()
|
||||
)
|
||||
terminal_filters_visibility = target == "terminal"
|
||||
terminal_filters_visibility = (
|
||||
target == "terminal"
|
||||
or self.perspective_widget.isVisible()
|
||||
)
|
||||
|
||||
if comment_visible is not None and comment_visibility:
|
||||
comment_visibility = comment_visible
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue