diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-24 15:32:52 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-24 15:32:52 +0200 |
commit | c36b1d58919c9f763dff937b8939f6c81eaab325 (patch) | |
tree | f0ff97df167693a0fc03c256f9573fa42de25ea1 | |
parent | e2c1d71d394d598c596c5f6012dfea3be1eeee55 (diff) | |
parent | f1b4c3d6e1e9d0b7406a4522dba85dcfa79e853e (diff) | |
download | redot-engine-c36b1d58919c9f763dff937b8939f6c81eaab325.tar.gz |
Merge pull request #77435 from YuriSizov/editor-your-favorite-preview
Fix a crash when hovering over "Favorites" in the FileSystem dock
-rw-r--r-- | editor/filesystem_dock.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 976ccab99e..1c43c29c33 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -2281,6 +2281,10 @@ void FileSystemDock::remove_resource_tooltip_plugin(const Ref<EditorResourceTool } Control *FileSystemDock::create_tooltip_for_path(const String &p_path) const { + if (p_path == "Favorites") { + // No tooltip for the "Favorites" group. + return nullptr; + } if (DirAccess::exists(p_path)) { // No tooltip for directory. return nullptr; |