Merge pull request #68708 from KoBeWi/this_dock_is_a_history_now

Add explicit name to History dock
This commit is contained in:
Rémi Verschelde 2022-11-16 09:23:04 +01:00
commit 340e54ab55
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 0 deletions

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));