summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-11 13:04:44 +0100
committerGitHub <noreply@github.com>2019-11-11 13:04:44 +0100
commitcc4da790b7150ec22d0815505334eeec9f012fa9 (patch)
treef0c37d8ed0bda49ab59c1af272fd39d6b301be40
parent4b8feff5943255f5f62b3625714f2a86bcb0bf7b (diff)
parent1f62318f92f79a8656bf8b8dbe3bc3588363c874 (diff)
Merge pull request #33537 from Xrayez/fs-icon-main-scene
Display icon for "Set As Main Scene" in filesystem popup
-rw-r--r--editor/filesystem_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 5409ef65ea..f35033e2be 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -2147,7 +2147,7 @@ void FileSystemDock::_file_and_folders_fill_popup(PopupMenu *p_popup, Vector<Str
if (filenames.size() == 1) {
p_popup->add_icon_item(get_icon("Load", "EditorIcons"), TTR("Open Scene"), FILE_OPEN);
p_popup->add_icon_item(get_icon("CreateNewSceneFrom", "EditorIcons"), TTR("New Inherited Scene"), FILE_INHERIT);
- p_popup->add_item(TTR("Set As Main Scene"), FILE_MAIN_SCENE);
+ p_popup->add_icon_item(get_icon("PlayScene", "EditorIcons"), TTR("Set As Main Scene"), FILE_MAIN_SCENE);
} else {
p_popup->add_icon_item(get_icon("Load", "EditorIcons"), TTR("Open Scenes"), FILE_OPEN);
}