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

Fix scoped enum value reference, breaks GCC 5
This commit is contained in:
Rémi Verschelde 2019-06-24 22:43:26 +02:00 committed by GitHub
commit fd895f4bc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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