summaryrefslogtreecommitdiff
path: root/editor/export
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2022-09-07 02:30:54 +0300
committerYuri Sizov <yuris@humnom.net>2022-09-07 03:01:58 +0300
commit1459507ed28d68e0066ee2631c0b3671c1c76faa (patch)
tree4bfcd1d91582dd943a158ffec5b986b158207ee6 /editor/export
parent432c4c40a9d29c127a5957944ca8f805dfb836ce (diff)
Rename EditorInterface.get_editor_main_control to get_editor_main_screen
Diffstat (limited to 'editor/export')
-rw-r--r--editor/export/editor_export_platform.cpp2
1 files changed, 1 insertions, 1 deletions
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<ImageTexture> EditorExportPlatform::get_option_icon(int p_index) const {
Ref<Theme> theme = EditorNode::get_singleton()->get_editor_theme();
ERR_FAIL_COND_V(theme.is_null(), Ref<ImageTexture>());
- 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"));