mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 21:17:01 +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
|
// Check for override
|
||||||
if (isKnownMapping(mapping)) {
|
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,
|
auto button = offscreenUi->messageBox(OffscreenUi::ICON_QUESTION, "Overwrite File", message,
|
||||||
QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
|
QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
|
||||||
if (button == QMessageBox::No) {
|
if (button == QMessageBox::No) {
|
||||||
|
|
Loading…
Reference in a new issue