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