updated undo/redo messages
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
This commit is contained in:
@@ -416,7 +416,7 @@ namespace MaterialEditor
|
||||
if (!result)
|
||||
{
|
||||
const QString documentPath = GetDocumentPath(documentId);
|
||||
const QString status = QString("Failed to perform Undo on document: %1").arg(documentPath);
|
||||
const QString status = QString("Failed to perform undo on document: %1").arg(documentPath);
|
||||
m_statusMessage->setText(QString("<font color=\"Red\">%1</font>").arg(status));
|
||||
}
|
||||
}, QKeySequence::Undo);
|
||||
@@ -428,7 +428,7 @@ namespace MaterialEditor
|
||||
if (!result)
|
||||
{
|
||||
const QString documentPath = GetDocumentPath(documentId);
|
||||
const QString status = QString("Failed to perform Redo on document: %1").arg(documentPath);
|
||||
const QString status = QString("Failed to perform redo on document: %1").arg(documentPath);
|
||||
m_statusMessage->setText(QString("<font color=\"Red\">%1</font>").arg(status));
|
||||
}
|
||||
}, QKeySequence::Redo);
|
||||
|
||||
+2
-2
@@ -278,7 +278,7 @@ namespace ShaderManagementConsole
|
||||
if (!result)
|
||||
{
|
||||
const QString documentPath = GetDocumentPath(documentId);
|
||||
const QString status = QString("Failed to perform Undo on document: %1").arg(documentPath);
|
||||
const QString status = QString("Failed to perform undo on document: %1").arg(documentPath);
|
||||
m_statusMessage->setText(QString("<font color=\"Red\">%1</font>").arg(status));
|
||||
}
|
||||
}, QKeySequence::Undo);
|
||||
@@ -290,7 +290,7 @@ namespace ShaderManagementConsole
|
||||
if (!result)
|
||||
{
|
||||
const QString documentPath = GetDocumentPath(documentId);
|
||||
const QString status = QString("Failed to perform Redo on document: %1").arg(documentPath);
|
||||
const QString status = QString("Failed to perform redo on document: %1").arg(documentPath);
|
||||
m_statusMessage->setText(QString("<font color=\"Red\">%1</font>").arg(status));
|
||||
}
|
||||
}, QKeySequence::Redo);
|
||||
|
||||
Reference in New Issue
Block a user