289f236cab
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
28 lines
531 B
C++
28 lines
531 B
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
#include "EditorCommon.h"
|
|
|
|
#include <QUndoGroup>
|
|
|
|
UndoStack::UndoStack(QUndoGroup* group)
|
|
: QUndoStack(group)
|
|
, m_isExecuting(false)
|
|
{
|
|
}
|
|
|
|
void UndoStack::SetIsExecuting(bool b)
|
|
{
|
|
m_isExecuting = b;
|
|
}
|
|
|
|
bool UndoStack::GetIsExecuting() const
|
|
{
|
|
return m_isExecuting;
|
|
}
|
|
|
|
#include <moc_UndoStack.cpp>
|