소스 검색

Fix scoped enum value reference, breaks GCC 5

Introduced in #29376 and recent compilers are fine with it, but GCC 5
complains.

Fixes #30044.
Rémi Verschelde 6 년 전
부모
커밋
9f2f1f5e3d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      editor/editor_layouts_dialog.cpp

+ 1 - 1
editor/editor_layouts_dialog.cpp

@@ -120,7 +120,7 @@ EditorLayoutsDialog::EditorLayoutsDialog() {
 	layout_names->set_anchor_and_margin(MARGIN_LEFT, ANCHOR_BEGIN, 5);
 	layout_names->set_anchor_and_margin(MARGIN_RIGHT, ANCHOR_END, -5);
 	layout_names->set_v_size_flags(Control::SIZE_EXPAND_FILL);
-	layout_names->set_select_mode(ItemList::SelectMode::SELECT_MULTI);
+	layout_names->set_select_mode(ItemList::SELECT_MULTI);
 	layout_names->set_allow_rmb_select(true);
 
 	name = memnew(LineEdit);