diff --git a/include/NazaraEditor/Core/Application/BaseApplication.hpp b/include/NazaraEditor/Core/Application/BaseApplication.hpp index 1ce468f..23bd9f6 100644 --- a/include/NazaraEditor/Core/Application/BaseApplication.hpp +++ b/include/NazaraEditor/Core/Application/BaseApplication.hpp @@ -70,7 +70,8 @@ namespace Nz template void RegisterAction(EditorAction::Properties properties, TArgs&&... args) { - properties.className = TAction::GetClassName(); + if (properties.className.empty()) + properties.className = TAction::GetClassName(); m_actionStack.RegisterAction(properties, std::forward(args)...); OnActionRegistered(properties); }