mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:03:35 +02:00
use mapping for overwrite prompt
This commit is contained in:
parent
d52c904070
commit
96a112290f
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ void AssetMappingsScriptingInterface::uploadFile(QString path, QString mapping,
|
|||
|
||||
// Check for override
|
||||
if (isKnownMapping(mapping)) {
|
||||
auto message = path + "\n" + "This file already exists. Do you want to overwrite it?";
|
||||
auto message = mapping + "\n" + "This file already exists. Do you want to overwrite it?";
|
||||
auto button = offscreenUi->messageBox(OffscreenUi::ICON_QUESTION, "Overwrite File", message,
|
||||
QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
|
||||
if (button == QMessageBox::No) {
|
||||
|
|
Loading…
Reference in a new issue