mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
hound fixes
This commit is contained in:
parent
79d4f9ce5c
commit
dd48ae63e4
2 changed files with 5 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
"""Show dialog for choosing central pype repository."""
|
||||
import sys
|
||||
import os
|
||||
import sys
|
||||
|
||||
from Qt import QtCore, QtGui, QtWidgets
|
||||
from Qt.QtGui import QValidator
|
||||
|
|
@ -558,7 +558,7 @@ class CollapsibleWidget(QtWidgets.QWidget):
|
|||
|
||||
self._toggleButton.toggled.connect(self._toggle_action)
|
||||
|
||||
def _toggle_action(self, collapsed:bool):
|
||||
def _toggle_action(self, collapsed: bool):
|
||||
arrow = QtCore.Qt.ArrowType.DownArrow if collapsed else QtCore.Qt.ArrowType.RightArrow # noqa: E501
|
||||
direction = QtCore.QAbstractAnimation.Forward if collapsed else QtCore.QAbstractAnimation.Backward # noqa: E501
|
||||
self._toggleButton.setArrowType(arrow)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue