hound fixes

This commit is contained in:
Ondrej Samohel 2020-10-13 19:58:08 +02:00
parent 79d4f9ce5c
commit dd48ae63e4
No known key found for this signature in database
GPG key ID: 8A29C663C672C2B7
2 changed files with 5 additions and 6 deletions

View file

@ -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)