mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
Update client/ayon_core/tools/context_dialog/window.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
0ec05d2fb2
commit
92f9fda546
1 changed files with 2 additions and 5 deletions
|
|
@ -793,13 +793,10 @@ def main(
|
|||
controller.store_output()
|
||||
|
||||
|
||||
def show(
|
||||
strict=True
|
||||
):
|
||||
def ask_for_context(strict=True):
|
||||
controller = ContextDialogController()
|
||||
controller.set_strict(strict)
|
||||
window = ContextDialog(controller=controller)
|
||||
window.show()
|
||||
window.exec_()
|
||||
|
||||
return controller.store_output()
|
||||
return controller.get_selected_context()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue