mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix visibility of placeholder after reset
This commit is contained in:
parent
4d44a374ae
commit
f6e9d688c6
1 changed files with 2 additions and 2 deletions
|
|
@ -1138,8 +1138,8 @@ class Window(QtWidgets.QDialog):
|
|||
if self.intent_model.has_items:
|
||||
self.intent_box.setCurrentIndex(self.intent_model.default_index)
|
||||
|
||||
if self.comment_box.text():
|
||||
self.comment_box.placeholder.setVisible(False)
|
||||
self.comment_box.placeholder.setVisible(False)
|
||||
if not self.comment_box.text():
|
||||
self.comment_box.placeholder.setVisible(True)
|
||||
# Launch controller reset
|
||||
self.controller.reset()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue