From 5b277cc06189485dfc833e52e610088d1f04dc95 Mon Sep 17 00:00:00 2001 From: pconroy Date: Wed, 23 Jun 2021 20:51:55 -0700 Subject: [PATCH] Show mouse cursor as busy when copying project --- Code/Tools/ProjectManager/Source/ProjectUtils.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Code/Tools/ProjectManager/Source/ProjectUtils.cpp b/Code/Tools/ProjectManager/Source/ProjectUtils.cpp index d2da1ef437..5b93e4faca 100644 --- a/Code/Tools/ProjectManager/Source/ProjectUtils.cpp +++ b/Code/Tools/ProjectManager/Source/ProjectUtils.cpp @@ -14,6 +14,7 @@ #include #include #include +#include namespace O3DE::ProjectManager { @@ -118,9 +119,10 @@ namespace O3DE::ProjectManager return false; } - // TODO: Block UX and Notify User they need to wait - + QGuiApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); copyResult = CopyProject(origPath, newPath); + QGuiApplication::restoreOverrideCursor(); + } return copyResult;