mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
validate existing install thread
This commit is contained in:
parent
934a462a07
commit
56445626a3
1 changed files with 3 additions and 0 deletions
|
|
@ -328,6 +328,9 @@ class InstallDialog(QtWidgets.QDialog):
|
|||
This will once again validate entered path and mongo if ok, start
|
||||
working thread that will do actual job.
|
||||
"""
|
||||
# Check if install thread is not already running
|
||||
if self._install_thread and self._install_thread.isRunning():
|
||||
return
|
||||
|
||||
valid, reason = validate_mongo_connection(self.mongo_url)
|
||||
if not valid:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue