Showing the changes to interface/src/scripting/AssetMappingsScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -94,7 +94,7 @@ void AssetMappingsScriptingInterface::uploadFile(QString path, QString mapping, · 93 unmodified lines | ||
| 94 | 94 | |
| 95 | 95 | // Check for override |
| 96 | 96 | if (isKnownMapping(mapping)) { |
| 97 | − auto message = path + "\n" + "This file already exists. Do you want to overwrite it?"; | |
| 97 | + auto message = mapping + "\n" + "This file already exists. Do you want to overwrite it?"; | |
| 98 | 98 | auto button = offscreenUi->messageBox(OffscreenUi::ICON_QUESTION, "Overwrite File", message, |
| 99 | 99 | QMessageBox::Yes | QMessageBox::No, QMessageBox::No); |
| 100 | 100 | if (button == QMessageBox::No) { |