mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
make sure the processEvents not rushing into indefinite loop
This commit is contained in:
parent
5e59ffce81
commit
3bc341b8ba
1 changed files with 1 additions and 0 deletions
|
|
@ -588,6 +588,7 @@ def prompt_new_file_with_mesh(mesh_filepath):
|
|||
# the file
|
||||
while not file_dialog.selectedFiles():
|
||||
app.processEvents(QtCore.QEventLoop.ExcludeUserInputEvents, 1000)
|
||||
continue
|
||||
print(f"Selected: {file_dialog.selectedFiles()}")
|
||||
|
||||
# Set it again now we know the path is refreshed - without this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue