Skip to content

Commit d24a805

Browse files
committed
Merge pull request #102555 from KoBeWi/historical_fix
Fix History Dock default state
2 parents ed2582e + 07b300b commit d24a805

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

editor/history_dock.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ HistoryDock::HistoryDock() {
253253
current_scene_checkbox->set_text(TTR("Scene"));
254254
current_scene_checkbox->set_h_size_flags(SIZE_EXPAND_FILL);
255255
current_scene_checkbox->set_clip_text(true);
256+
current_scene_checkbox->set_pressed(true);
256257
current_scene_checkbox->connect(SceneStringName(toggled), callable_mp(this, &HistoryDock::refresh_history).unbind(1));
257258

258259
global_history_checkbox = memnew(CheckBox);
@@ -261,6 +262,7 @@ HistoryDock::HistoryDock() {
261262
global_history_checkbox->set_text(TTR("Global"));
262263
global_history_checkbox->set_h_size_flags(SIZE_EXPAND_FILL);
263264
global_history_checkbox->set_clip_text(true);
265+
global_history_checkbox->set_pressed(true);
264266
global_history_checkbox->connect(SceneStringName(toggled), callable_mp(this, &HistoryDock::refresh_history).unbind(1));
265267

266268
action_list = memnew(ItemList);

0 commit comments

Comments
 (0)