Add explicit name to History dock

This commit is contained in:
kobewi 2022-11-16 03:28:14 +01:00
parent 5993209b26
commit 45bdf4d609

View file

@ -219,6 +219,8 @@ void HistoryDock::_notification(int p_notification) {
}
HistoryDock::HistoryDock() {
set_name("History");
ur_manager = EditorNode::get_undo_redo();
ur_manager->connect("history_changed", callable_mp(this, &HistoryDock::on_history_changed));
ur_manager->connect("version_changed", callable_mp(this, &HistoryDock::on_version_changed));