Fix scoped enum value reference, breaks GCC 5

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

Fixes #30044.
This commit is contained in:
Rémi Verschelde 2019-06-24 21:56:54 +02:00
parent ab932bb675
commit 9f2f1f5e3d

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