From 1459507ed28d68e0066ee2631c0b3671c1c76faa Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Wed, 7 Sep 2022 02:30:54 +0300 Subject: Rename EditorInterface.get_editor_main_control to get_editor_main_screen --- editor/export/editor_export_platform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/export') diff --git a/editor/export/editor_export_platform.cpp b/editor/export/editor_export_platform.cpp index 525a962222..2a444bb04f 100644 --- a/editor/export/editor_export_platform.cpp +++ b/editor/export/editor_export_platform.cpp @@ -287,7 +287,7 @@ Error EditorExportPlatform::_save_zip_file(void *p_userdata, const String &p_pat Ref EditorExportPlatform::get_option_icon(int p_index) const { Ref theme = EditorNode::get_singleton()->get_editor_theme(); ERR_FAIL_COND_V(theme.is_null(), Ref()); - if (EditorNode::get_singleton()->get_main_control()->is_layout_rtl()) { + if (EditorNode::get_singleton()->get_main_screen_control()->is_layout_rtl()) { return theme->get_icon(SNAME("PlayBackwards"), SNAME("EditorIcons")); } else { return theme->get_icon(SNAME("Play"), SNAME("EditorIcons")); -- cgit v1.2.3