From 9f2f1f5e3d367cae9f310a64099f031bb8e9f297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 24 Jun 2019 21:56:54 +0200 Subject: Fix scoped enum value reference, breaks GCC 5 Introduced in #29376 and recent compilers are fine with it, but GCC 5 complains. Fixes #30044. --- editor/editor_layouts_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_layouts_dialog.cpp b/editor/editor_layouts_dialog.cpp index 01e4762196..36f7b30016 100644 --- a/editor/editor_layouts_dialog.cpp +++ b/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); -- cgit v1.2.3