From 043b21816582ed76243113ff800b992a1f78c80f Mon Sep 17 00:00:00 2001 From: Chris Galvan Date: Fri, 27 Aug 2021 15:44:31 -0500 Subject: [PATCH] Updated invalid filename warning with more explicit message from PR feedback. Signed-off-by: Chris Galvan --- .../AzQtComponents/Components/Widgets/FileDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/FileDialog.cpp b/Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/FileDialog.cpp index cdd6a77094..d2d773ff93 100644 --- a/Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/FileDialog.cpp +++ b/Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/FileDialog.cpp @@ -38,7 +38,8 @@ namespace AzQtComponents // If the filename had invalid characters, then show a warning message and then we will re-prompt the save filename dialog if (shouldPromptAgain) { - QMessageBox::warning(parent, QObject::tr("Invalid filename"), QObject::tr("The filename contains invalid characters\n\n%1").arg(fileName)); + QMessageBox::warning(parent, QObject::tr("Invalid filename"), + QObject::tr("O3DE assets are restricted to alphanumeric characters, hyphens (-), underscores (_), and dots (.)\n\n%1").arg(fileName)); } } else