mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 03:24:46 +02:00
Auto-close Clara model download progress box when model added to world
This commit is contained in:
parent
825225fcb2
commit
f3899736e8
1 changed files with 2 additions and 6 deletions
|
@ -5780,12 +5780,8 @@ void Application::addAssetToWorldAddEntity(QString mapping) {
|
|||
_addAssetToWorldTimer.start();
|
||||
}
|
||||
|
||||
// Inform user.
|
||||
QString successInfo = "Asset " + mapping.mid(1) + " added to world.";
|
||||
qInfo(interfaceapp) << "Downloading asset completed: " + successInfo;
|
||||
_addAssetToWorldMessageBox->setProperty("text", successInfo);
|
||||
_addAssetToWorldMessageBox->setProperty("buttons", QMessageBox::Ok);
|
||||
_addAssetToWorldMessageBox->setProperty("defaultButton", QMessageBox::Ok);
|
||||
// Close progress message box.
|
||||
_addAssetToWorldMessageBox->deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue