Browse Source

Merge pull request #30045 from akien-mga/fix-gcc5-build-after-29376

Fix scoped enum value reference, breaks GCC 5
Rémi Verschelde 6 years ago
parent
commit
fd895f4bc0
1 changed files with 1 additions and 1 deletions
  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_LEFT, ANCHOR_BEGIN, 5);
 	layout_names->set_anchor_and_margin(MARGIN_RIGHT, ANCHOR_END, -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_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);
 	layout_names->set_allow_rmb_select(true);
 
 
 	name = memnew(LineEdit);
 	name = memnew(LineEdit);