mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-10 14:07:48 +00:00
Integrate undo infrastructure with SoundMacroEditor
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
#include "EditorWidget.hpp"
|
||||
#include "MainWindow.hpp"
|
||||
|
||||
EditorWidget::EditorWidget(QWidget* parent)
|
||||
: QWidget(parent)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void EditorUndoCommand::undo()
|
||||
{
|
||||
g_MainWindow->openEditor(m_node.get());
|
||||
}
|
||||
|
||||
void EditorUndoCommand::redo()
|
||||
{
|
||||
g_MainWindow->openEditor(m_node.get());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user