mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
remove unnecessary else statement
This commit is contained in:
parent
76b6fed6a7
commit
5f8a07aa8f
1 changed files with 4 additions and 3 deletions
|
|
@ -155,6 +155,10 @@ class DeliveryOptionsDialog(QtWidgets.QDialog):
|
|||
|
||||
self._update_selected_label()
|
||||
self._update_template_value()
|
||||
|
||||
btn_delivery.clicked.connect(self.deliver)
|
||||
dropdown.currentIndexChanged.connect(self._update_template_value)
|
||||
|
||||
if not self.dropdown.count():
|
||||
self.text_area.setVisible(True)
|
||||
error_message = (
|
||||
|
|
@ -163,9 +167,6 @@ class DeliveryOptionsDialog(QtWidgets.QDialog):
|
|||
)
|
||||
self.text_area.setText(error_message)
|
||||
self.log.error(error_message.replace("\n", " "))
|
||||
else:
|
||||
btn_delivery.clicked.connect(self.deliver)
|
||||
dropdown.currentIndexChanged.connect(self._update_template_value)
|
||||
|
||||
def deliver(self):
|
||||
"""Main method to loop through all selected representations"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue