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 | "Use the field below to place your file in a specific folder or to rename it. " | 76 | "Use the field below to place your file in a specific folder or to rename it. " |
| 77 | "Specifying a new folder name will automatically create that folder for you."; | 77 | "Specifying a new folder name will automatically create that folder for you."; |
| 78 | 78 | ||
| 79 | auto offscreenUi = DependencyManager::get<OffscreenUi>(); | 79 | auto offscreenUI = DependencyManager::get<OffscreenUi>(); |
| 80 | if (!offscreenUi) { | 80 | if (!offscreenUI) { |
| 81 | completedCallback.call({ -1 }); | 81 | completedCallback.call({ -1 }); |
| 82 | return; | 82 | return; |
| 83 | } | 83 | } |