Showing the changes to interface/src/scripting/AssetMappingsScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -76,8 +76,8 @@ void AssetMappingsScriptingInterface::uploadFile(QString path, QString mapping, · 75 unmodified lines | ||
| 76 | 76 | "Use the field below to place your file in a specific folder or to rename it. " |
| 77 | 77 | "Specifying a new folder name will automatically create that folder for you."; |
| 78 | 78 | |
| 79 | − auto offscreenUi = DependencyManager::get<OffscreenUi>(); | |
| 80 | − if (!offscreenUi) { | |
| 79 | + auto offscreenUI = DependencyManager::get<OffscreenUi>(); | |
| 80 | + if (!offscreenUI) { | |
| 81 | 81 | completedCallback.call({ -1 }); |
| 82 | 82 | return; |
| 83 | 83 | } |