diff options
author | kobewi <kobewi4e@gmail.com> | 2022-12-23 23:53:16 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2023-01-16 01:11:52 +0100 |
commit | b58111588a62fcdd238f93129cd48a1dbb1d5237 (patch) | |
tree | 25c5154a456d471932ca9d27ff46dd0aec663665 /editor/history_dock.cpp | |
parent | 91fedb60de6011434938499a9d4a7d4fd1cd4f06 (diff) | |
download | redot-engine-b58111588a62fcdd238f93129cd48a1dbb1d5237.tar.gz |
Add EditorUndoRedoManager singleton
Diffstat (limited to 'editor/history_dock.cpp')
-rw-r--r-- | editor/history_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/history_dock.cpp b/editor/history_dock.cpp index f9fe1093b8..41ca519400 100644 --- a/editor/history_dock.cpp +++ b/editor/history_dock.cpp @@ -221,7 +221,7 @@ void HistoryDock::_notification(int p_notification) { HistoryDock::HistoryDock() { set_name("History"); - ur_manager = EditorNode::get_undo_redo(); + ur_manager = EditorUndoRedoManager::get_singleton(); ur_manager->connect("history_changed", callable_mp(this, &HistoryDock::on_history_changed)); ur_manager->connect("version_changed", callable_mp(this, &HistoryDock::on_version_changed)); |