diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-24 21:56:54 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-24 21:56:55 +0200 |
commit | 9f2f1f5e3d367cae9f310a64099f031bb8e9f297 (patch) | |
tree | 3b149b42d43e57d58f76454c6adeb92ded4eed89 | |
parent | ab932bb675f7966b94c46da76ca822ebbf24ddd2 (diff) |
Fix scoped enum value reference, breaks GCC 5
Introduced in #29376 and recent compilers are fine with it, but GCC 5
complains.
Fixes #30044.
-rw-r--r-- | editor/editor_layouts_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |